Skip to content

Commit 53df308

Browse files
committed
Combine cucumber and cucumber:boot into one job
MSP-11671 The run times for cucumber are so much faster now that `spec --tag content` is actually the slowest job (on 1.9.3). The job is so slow that the two cucumbers can be merged together and they will take the same time, but we'll consume 2 fewer job slots (1 for 1.9.3 and 1 for 2.1), so the longer per job time is better as long as it does become the longest job time.
1 parent 3d0fa84 commit 53df308

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
bundler_args: --without development coverage
22
env:
3-
- RAKE_TASK=cucumber
4-
- RAKE_TASK=cucumber:boot
5-
- RAKE_TASK=spec SPEC_OPTS="--tag content"
6-
- RAKE_TASK=spec SPEC_OPTS="--tag ~content"
3+
- RAKE_TASKS="cucumber cucumber:boot"
4+
- RAKE_TASKS=spec SPEC_OPTS="--tag content"
5+
- RAKE_TASKS=spec SPEC_OPTS="--tag ~content"
76

87
language: ruby
98
matrix:
@@ -26,7 +25,7 @@ before_script:
2625
- bundle exec rake db:migrate
2726
script:
2827
# fail build if db/schema.rb update is not committed
29-
- git diff --exit-code && bundle exec rake $RAKE_TASK
28+
- git diff --exit-code && bundle exec rake $RAKE_TASKS
3029

3130
rvm:
3231
- '1.9.3'

0 commit comments

Comments
 (0)