Skip to content

Commit d4ebc4c

Browse files
authored
Remove most Firestore builds from Travis (#4843)
Remove: * pod-lib-lint * cmake builds * Xcode 11 xcodebuild * Xcode 11 sanitizers What remains: * Xcode 11 quickstart * Xcode 10.3 xcodebuild
1 parent 2c3585f commit d4ebc4c

File tree

1 file changed

+0
-105
lines changed

1 file changed

+0
-105
lines changed

.travis.yml

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -460,15 +460,6 @@ jobs:
460460
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseCoreDiagnosticsInterop.podspec
461461
- travis_retry ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseInAppMessaging.podspec
462462

463-
- stage: test
464-
env:
465-
- PROJECT=Firestore METHOD=pod-lib-lint
466-
script:
467-
# Eliminate the one warning from BoringSSL when CocoaPods 1.6.0 is available.
468-
# The travis_wait is necessary because the command takes more than 10 minutes.
469-
# Some of the Firestore dependencies fail to analyze.
470-
- travis_wait 30 ./scripts/if_changed.sh ./scripts/pod_lib_lint.rb FirebaseFirestore.podspec --platforms=ios --allow-warnings --no-subspecs --no-analyze
471-
472463
# pod lib lint to check build and warnings for static library build - only on cron jobs
473464
- stage: test
474465
if: type = cron
@@ -478,15 +469,6 @@ jobs:
478469
- travis_retry ./scripts/pod_lib_lint.rb FirebaseInAppMessaging.podspec --use-libraries
479470
- travis_retry ./scripts/pod_lib_lint.rb FirebaseInAppMessaging.podspec --use-modular-headers
480471

481-
- stage: test
482-
if: type = cron
483-
env:
484-
- PROJECT=Firestore METHOD=pod-lib-lint
485-
script:
486-
# TBD - non-portable path warnings
487-
# The travis_wait is necessary because the command takes more than 10 minutes.
488-
- travis_wait 45 ./scripts/pod_lib_lint.rb FirebaseFirestore.podspec --use-libraries --allow-warnings --no-subspecs --no-analyze
489-
490472
- stage: test
491473
env:
492474
- PROJECT=GoogleDataTransport METHOD=pod-lib-lint
@@ -542,80 +524,6 @@ jobs:
542524
script:
543525
- travis_retry ./scripts/build.sh $PROJECT $PLATFORM $METHOD
544526

545-
# Alternative platforms
546-
- stage: test
547-
env:
548-
- PROJECT=Firestore PLATFORM=macOS METHOD=cmake
549-
before_install:
550-
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
551-
script:
552-
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD
553-
554-
# Test Firestore on Xcode 8 to use old llvm to ensure C++ portability.
555-
# Disabled while we resolve issues discussed in #4084 and #4085
556-
# - stage: test
557-
# osx_image: xcode8.3
558-
# env:
559-
# - PROJECT=Firestore PLATFORM=iOS METHOD=xcodebuild XCODE_VERSION=8.3.3
560-
# before_install:
561-
# - ./scripts/if_changed.sh ./scripts/install_prereqs.sh
562-
# script:
563-
# - travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD
564-
565-
- stage: test
566-
env:
567-
- PROJECT=Firestore PLATFORM=macOS METHOD=xcodebuild
568-
before_install:
569-
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
570-
script:
571-
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM
572-
573-
- stage: test
574-
env:
575-
- PROJECT=Firestore PLATFORM=tvOS METHOD=xcodebuild
576-
before_install:
577-
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
578-
script:
579-
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM
580-
581-
# Firestore sanitizers
582-
583-
- stage:
584-
env:
585-
- PROJECT=Firestore PLATFORM=iOS METHOD=xcodebuild SANITIZERS=asan
586-
before_install:
587-
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
588-
script:
589-
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD
590-
591-
- stage: test
592-
env:
593-
- PROJECT=Firestore PLATFORM=iOS METHOD=xcodebuild SANITIZERS=tsan
594-
before_install:
595-
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
596-
script:
597-
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD
598-
599-
# TODO(varconst): enable UBSan in xcodebuild. Right now if fails during
600-
# linkage (it works if enabled together with ASan, but it's supposed to be
601-
# usable on its own, too).
602-
603-
- stage: test
604-
env:
605-
- PROJECT=Firestore PLATFORM=macOS METHOD=cmake SANITIZERS=asan
606-
before_install:
607-
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
608-
script:
609-
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD
610-
611-
- stage: test
612-
env:
613-
- PROJECT=Firestore PLATFORM=macOS METHOD=cmake SANITIZERS=tsan
614-
before_install:
615-
- ./scripts/if_changed.sh ./scripts/install_prereqs.sh
616-
script:
617-
- travis_retry ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD
618-
619527
# Validate Cocoapods configurations
620528
# This may take long time, so we would like to run it only once all other tests pass
621529
# Validate Cocoapods 1.7.0 compatibility
@@ -713,22 +621,9 @@ jobs:
713621
# The travis_wait is necessary because fuzzing runs for 40 minutes.
714622
- travis_wait 45 ./scripts/fuzzing_ci.sh
715623

716-
# TODO(varconst): UBSan for CMake. UBSan failures are non-fatal by default,
717-
# need to make them fatal for the purposes of the test run.
718-
719-
# TODO(varconst): disallow sanitizers to fail once we fix all existing issues.
720-
- env:
721-
- PROJECT=Firestore PLATFORM=macOS METHOD=cmake SANITIZERS=tsan
722-
- env:
723-
- PROJECT=Firestore PLATFORM=iOS METHOD=xcodebuild SANITIZERS=tsan
724624
- env:
725625
- PROJECT=GoogleDataTransportIntegrationTest PLATFORM=iOS METHOD=xcodebuild
726626

727-
# TODO(varconst): enable if it's possible to make this flag work on build
728-
# stages. It's supposed to avoid waiting for jobs that are allowed to fail
729-
# before reporting the results.
730-
# fast_finish: true
731-
732627
branches:
733628
only:
734629
- master

0 commit comments

Comments
 (0)