forked from kishikawakatsumi/KeychainAccess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
134 lines (128 loc) · 4.07 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
language: objective-c
cache:
directories:
- Lib/vendor
install:
- "(cd Lib && bundle install --path=vendor/bundle --binstubs=vendor/bin)"
before_script:
- ./Lib/Scripts/decode_cert.sh || true
- ./Lib/Scripts/add_key.sh || true
script:
- "(cd Lib && travis_retry bundle exec rake $ACTION)"
matrix:
include:
- osx_image: xcode11
env: ACTION=build
- osx_image: xcode11
env: ACTION='build:carthage'
- osx_image: xcode11
env: ACTION='test:iphonesimulator'
- osx_image: xcode11
env: ACTION='test:appletvsimulator'
- osx_image: xcode11
env: ACTION='test:macosx'
# Mac Catalyst requires macOS Catalina. But no CI service supports running tests on Catalina yet.
# - osx_image: xcode11
# script: xcodebuild test -workspace KeychainAccess.xcworkspace -scheme KeychainAccess -configuration Debug -enableCodeCoverage YES -derivedDataPath build -hideShellScriptEnvironment -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst' -only-testing:KeychainAccessTests-MacCatalyst SWIFT_VERSION=5.1 GCC_SYMBOLS_PRIVATE_EXTERN=NO
- osx_image: xcode10.3
env: ACTION=build
- osx_image: xcode10.3
env: ACTION='build:carthage'
- osx_image: xcode10.3
env: ACTION='test:iphonesimulator'
- osx_image: xcode10.3
env: ACTION='test:appletvsimulator'
- osx_image: xcode10.3
env: ACTION='test:macosx'
- osx_image: xcode10.2
env: ACTION=build
- osx_image: xcode10.2
env: ACTION='build:carthage'
- osx_image: xcode10.2
env: ACTION='test:iphonesimulator'
- osx_image: xcode10.2
env: ACTION='test:appletvsimulator'
- osx_image: xcode10.2
env: ACTION='test:macosx'
- osx_image: xcode10
env: ACTION=build
- osx_image: xcode10
env: ACTION='build:carthage'
- osx_image: xcode10
env: ACTION='test:iphonesimulator'
- osx_image: xcode10
env: ACTION='test:appletvsimulator'
- osx_image: xcode10
env: ACTION='test:macosx'
- osx_image: xcode9.4
env: ACTION=build
- osx_image: xcode9.4
env: ACTION='build:carthage'
- osx_image: xcode9.4
env: ACTION='test:iphonesimulator'
- osx_image: xcode9.4
env: ACTION='test:appletvsimulator'
- osx_image: xcode9.4
env: ACTION='test:macosx'
- osx_image: xcode9.3
env: ACTION=build
- osx_image: xcode9.3
env: ACTION='build:carthage'
- osx_image: xcode9.3
env: ACTION='test:iphonesimulator'
- osx_image: xcode9.3
env: ACTION='test:appletvsimulator'
- osx_image: xcode9.3
env: ACTION='test:macosx'
# - osx_image: xcode9.2
# env: ACTION=build
# - osx_image: xcode9.2
# env: ACTION='build:carthage'
# - osx_image: xcode9.2
# env: ACTION='test:iphonesimulator'
# - osx_image: xcode9.2
# env: ACTION='test:appletvsimulator'
# - osx_image: xcode9.2
# env: ACTION='test:macosx'
#
# - osx_image: xcode9.1
# env: ACTION=build
# - osx_image: xcode9.1
# env: ACTION='build:carthage'
# - osx_image: xcode9.1
# env: ACTION='test:iphonesimulator'
# - osx_image: xcode9.1
# env: ACTION='test:appletvsimulator'
# - osx_image: xcode9.1
# env: ACTION='test:macosx'
#
# - osx_image: xcode9
# env: ACTION=build
# - osx_image: xcode9
# env: ACTION='build:carthage'
# - osx_image: xcode9
# env: ACTION='test:iphonesimulator'
# - osx_image: xcode9
# env: ACTION='test:appletvsimulator'
# - osx_image: xcode9
# env: ACTION='test:macosx'
#
# - osx_image: xcode8.3
# env: ACTION=build
# - osx_image: xcode8.3
# env: ACTION='build:carthage'
# - osx_image: xcode8.3
# env: ACTION='test:iphonesimulator'
# - osx_image: xcode8.3
# env: ACTION='test:appletvsimulator'
# - osx_image: xcode8.3
# env: ACTION='test:macosx'
env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- secure: KL59HA2XSRa215qVXXnFpx48Tb/k+vNfFAbzyc+0M4mXl1VhSJv3bkTslqDrX822t3iFDFYhXbJ6aUo7szSdcbnCXU7VIhNPRK5QM00eS1AI4V0UwDQZ06g2f4Dmt+cQxACg+0CB0OaPnUCA4rkQQKeBMAWa67Tp2hNgQHwsnio=
- secure: B8zXiyX1zEq6uWaCxap5iW1joQBoOjNjSUlcs1t+QKdaFCFtjOI8C1JCClzk7rTnGNDDrhahFlE8yskSNKoBsaW2UJ8TzPIkD4F2pkxTHkaFQl/GBsdbHdOUFL4h0/zGQ6wY1Qhw7C+8+3U+1c9QbnNw6jOQwXTF6gs/XTNzG9Y=
branches:
only:
- master