|
5 | 5 | - bundler |
6 | 6 | - cocoapods |
7 | 7 |
|
| 8 | +stages: |
| 9 | + - checks |
| 10 | + - test |
| 11 | + - name: cocoapods_compatibility_check |
| 12 | + if: type = cron |
| 13 | + |
8 | 14 | jobs: |
9 | 15 | include: |
10 | 16 | - stage: checks |
@@ -212,6 +218,46 @@ jobs: |
212 | 218 | script: |
213 | 219 | - travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD |
214 | 220 |
|
| 221 | + # Validate Cocoapods configurations |
| 222 | + # This may take long time, so we would like to run it only once all other tests pass |
| 223 | + # Validate Cocoapods 1.7.0 compatibility |
| 224 | + - stage: cocoapods_compatibility_check |
| 225 | + env: |
| 226 | + - POD_CONFIG_DIR=Cocoapods1_7_0_multiprojects_frameworks |
| 227 | + script: |
| 228 | + - travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile |
| 229 | + |
| 230 | + - stage: cocoapods_compatibility_check |
| 231 | + env: |
| 232 | + - POD_CONFIG_DIR=Cocoapods1_7_0_frameworks |
| 233 | + script: |
| 234 | + - travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile |
| 235 | + |
| 236 | + - stage: cocoapods_compatibility_check |
| 237 | + env: |
| 238 | + - POD_CONFIG_DIR=Cocoapods1_7_0_multiprojects_staticLibs |
| 239 | + script: |
| 240 | + - travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile |
| 241 | + |
| 242 | + - stage: cocoapods_compatibility_check |
| 243 | + env: |
| 244 | + - POD_CONFIG_DIR=Cocoapods1_7_0_staticLibs |
| 245 | + script: |
| 246 | + - travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile |
| 247 | + |
| 248 | + # Validate Cocoapods 1.6.1 compatibility |
| 249 | + - stage: cocoapods_compatibility_check |
| 250 | + env: |
| 251 | + - POD_CONFIG_DIR=Cocoapods1_6_1_frameworks |
| 252 | + script: |
| 253 | + - travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile |
| 254 | + |
| 255 | + - stage: cocoapods_compatibility_check |
| 256 | + env: |
| 257 | + - POD_CONFIG_DIR=Cocoapods1_6_1_staticLibs |
| 258 | + script: |
| 259 | + - travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile |
| 260 | + |
215 | 261 | allow_failures: |
216 | 262 | # Run fuzz tests only on cron jobs. |
217 | 263 | - stage: test |
|
0 commit comments