Skip to content

Commit

Permalink
CocoaPods CI update (#6751)
Browse files Browse the repository at this point in the history
* CocoaPods CI update

* CocoaPods CI update

* Restore cron after test success
  • Loading branch information
paulb777 committed Oct 19, 2020
1 parent c5ea958 commit 254f44c
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 147 deletions.
36 changes: 3 additions & 33 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,54 +239,24 @@ jobs:

# 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: test
if: type = cron
env:
- POD_CONFIG_DIR=Cocoapods1_7_0_multiprojects_frameworks
- POD_CONFIG_DIR=Cocoapods_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: test
if: type = cron
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: test
if: type = cron
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: test
if: type = cron
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: test
if: type = cron
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: test
if: type = cron
env:
- POD_CONFIG_DIR=Cocoapods1_6_1_staticLibs
- POD_CONFIG_DIR=Cocoapods_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

allow_failures:
# Run fuzz tests only on cron jobs.
- stage: test
if: type = cron
# if: type = cron
env:
- PROJECT=Firestore PLATFORM=iOS METHOD=fuzz
before_install:
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

source "https://rubygems.org"

gem 'cocoapods', "=1.6.1"
gem 'cocoapods', '1.10.0.rc.1'
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
source "https://rubygems.org"

# Don't allow 1.7.0.rc.1 because of https://github.com/CocoaPods/CocoaPods/issues/8765
gem 'cocoapods', "!=1.7.0.rc.1"
gem 'cocoapods', '1.10.0.rc.1'

0 comments on commit 254f44c

Please sign in to comment.