forked from Carthage/Carthage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (38 loc) · 3.56 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
install: true
git:
submodules: false
cache:
directories:
- .build/checkouts # SwiftPM
- .build/repositories # SwiftPM
- script # With Travis’ macOS specifics in the following link, the below no longer launches any Travis runs: https://www.travis-ci.com/blog/2020-11-02-travis-ci-new-billing/
- Logo # For our future use on other CI platforms, I’ve included `for_use_during_unit_testing_for_carthage_on_intel_host_os.xcconfig` scripting.
branches:
only:
- master
matrix:
include:
- os: osx
language: objective-c
osx_image: xcode10.1
script:
- echo 'NON_BLANK_FOR_XCODE_VERSION_MAJOR_0100=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0200=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0300=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0400=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0500=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0600=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0700=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0800=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0900=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_1000=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_1100=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0000=YES•THIS_SPOT_LEFT_BLANK_IF_XCODE_12_OR_HIGHER=$(NON_BLANK_FOR_XCODE_VERSION_MAJOR_$(XCODE_VERSION_MAJOR))•EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__THIS_SPOT_LEFT_BLANK_IF_XCODE_12_OR_HIGHER___NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8•EXCLUDED_ARCHS=$(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__THIS_SPOT_LEFT_BLANK_IF_XCODE_12_OR_HIGHER_$(THIS_SPOT_LEFT_BLANK_IF_XCODE_12_OR_HIGHER)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))' | tr • '\n' | tee ~/for_use_during_unit_testing_for_carthage_on_intel_host_os.xcconfig
- export XCODE_XCCONFIG_FILE=~/for_use_during_unit_testing_for_carthage_on_intel_host_os.xcconfig
- make test
env: JOB=CI_TEST_10_1
- os: osx
language: objective-c
osx_image: xcode10.1
script:
- brew uninstall carthage
- HOMEBREW_NO_AUTO_UPDATE=1 brew install bats
- make install
- echo 'NON_BLANK_FOR_XCODE_VERSION_MAJOR_0100=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0200=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0300=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0400=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0500=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0600=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0700=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0800=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0900=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_1000=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_1100=YES•NON_BLANK_FOR_XCODE_VERSION_MAJOR_0000=YES•THIS_SPOT_LEFT_BLANK_IF_XCODE_12_OR_HIGHER=$(NON_BLANK_FOR_XCODE_VERSION_MAJOR_$(XCODE_VERSION_MAJOR))•EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__THIS_SPOT_LEFT_BLANK_IF_XCODE_12_OR_HIGHER___NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8•EXCLUDED_ARCHS=$(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__THIS_SPOT_LEFT_BLANK_IF_XCODE_12_OR_HIGHER_$(THIS_SPOT_LEFT_BLANK_IF_XCODE_12_OR_HIGHER)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))' | tr • '\n' | tee ~/for_use_during_unit_testing_for_carthage_on_intel_host_os.xcconfig
- export XCODE_XCCONFIG_FILE=~/for_use_during_unit_testing_for_carthage_on_intel_host_os.xcconfig
- bats IntegrationTests
env:
- JOB=CI_INTEGRATION_TESTS
notifications:
email: false
slack:
secure: lblNhCx6581hiPskQQnH663QY/HHqs6y8rMCLIff1Ryq0ngBaTwBJZ6E5tAR8oWTGWg3nMAAm/AaJPQGFC9jnKxtpWJhuEF58RY+EBe1Rz3gjKmacvEZS+PW+k3cRrRPZr6Vh6D8d0cb1gfM7BvGZar21ipBC/WcnNden3LxZ+0=