Use progress formatter on Travis to avoid timeout

We had a few Travis builds lately that timed out, because no output was
received. Even though our standard formatter Fuubar should detect Travis
and print the right output, nothing was visible in our builds.
https://github.com/travis-ci/travis-ci/issues/1337

In this patch, I tell Travis to use Rspec's default formatter to print
dots for every passed test.
This commit is contained in:
Maikel Linke
2018-07-13 16:21:28 +10:00
parent d5d1eae715
commit 8e90488117

View File

@@ -42,7 +42,7 @@ before_script:
script:
- 'if [ "$KARMA" = "true" ]; then bundle exec rake karma:run; else echo "Skipping karma run"; fi'
- "bundle exec rake 'knapsack:rspec[--tag ~performance]'"
- "bundle exec rake 'knapsack:rspec[--format progress --tag ~performance]'"
after_success:
- >