Skip to content

Commit de64b23

Browse files
authored
Make fuzzing run in the test stage (#1716)
Stages, even when cut off early with if_cron, still take about two minutes to run. The fuzz_test stage was waiting for all tests to complete before starting, which was artificially adding two minutes to every build. Use a different method to keep this visually distinct from the rest.
1 parent 4625899 commit de64b23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ jobs:
179179
- ./scripts/if_changed.sh ./scripts/build.sh $PROJECT $PLATFORM $METHOD
180180

181181
# Run fuzz tests only on cron jobs.
182-
- stage: fuzz_test
182+
- stage: test
183183
env:
184-
- PROJECT=Firestore PLATFORM=iOS METHOD=xcodebuild
184+
- PROJECT=Firestore PLATFORM=iOS METHOD=fuzz
185185
before_install:
186186
- ./scripts/if_cron.sh ./scripts/install_prereqs.sh
187187
script:

scripts/install_prereqs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ case "$PROJECT-$PLATFORM-$METHOD" in
3535
bundle exec pod install --project-directory=GoogleUtilities/Example
3636
;;
3737

38-
Firestore-*-xcodebuild)
38+
Firestore-*-xcodebuild | Firestore-*-fuzz)
3939
gem install xcpretty
4040
bundle exec pod install --project-directory=Firestore/Example --repo-update
4141
;;

0 commit comments

Comments
 (0)