[go: nahoru, domu]

Skip to content

Commit

Permalink
Cocoapods 1.7.0 multiproject support (b/128794527) (firebase#2751)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksymmalyhin committed Apr 9, 2019
1 parent f590c93 commit 5581499
Show file tree
Hide file tree
Showing 45 changed files with 1,301 additions and 27 deletions.
46 changes: 46 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ cache:
- bundler
- cocoapods

stages:
- checks
- test
- name: cocoapods_compatibility_check
if: type = cron

jobs:
include:
- stage: checks
Expand Down Expand Up @@ -212,6 +218,46 @@ jobs:
script:
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD

# Validate Cocoapods configurations
# This may take long time, so we would like to run it only once all other tests pass
# Validate Cocoapods 1.7.0 compatibility
- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_7_0_multiprojects_frameworks
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_7_0_frameworks
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_7_0_multiprojects_staticLibs
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_7_0_staticLibs
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

# Validate Cocoapods 1.6.1 compatibility
- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_6_1_frameworks
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

- stage: cocoapods_compatibility_check
env:
- POD_CONFIG_DIR=Cocoapods1_6_1_staticLibs
script:
- travis_retry ./CocoapodsIntegrationTest/scripts/build_with_environment.sh --gemfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Gemfile --podfile=./CocoapodsIntegrationTest/TestEnvironments/${POD_CONFIG_DIR}/Podfile

allow_failures:
# Run fuzz tests only on cron jobs.
- stage: test
Expand Down
Loading

0 comments on commit 5581499

Please sign in to comment.