Skip to content

Commit

Permalink
Combine rails test runs to fix coverage reporting (publiclab#5322)
Browse files Browse the repository at this point in the history
* Combine rails test runs

* remove -d
  • Loading branch information
jywarren authored and icarito committed Apr 9, 2019
1 parent 8f6b1de commit 7dc4c0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ script:
- docker-compose exec web bash -c "mv chromedriver /usr/local/bin/chromedriver"
- docker-compose exec web bash -c "chmod +x /usr/local/bin/chromedriver"
- docker-compose exec web bash -c "CI=TRUE GENERATE_REPORT=true rake test:all"
- docker-compose exec web bash -c "CI=TRUE GENERATE_REPORT=true rails test -d"
- docker-compose exec web bash -c "CI=TRUE GENERATE_REPORT=true rails test:system"
- docker-compose exec web bash -c "CI=TRUE GENERATE_REPORT=true rails test:system test"
- echo -e '<?xml version="1.0" encoding="UTF-8"?>' > output.xml
- tail -n +2 -q ./test/reports/TEST*.xml >> output.xml
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then danger --verbose; fi'

0 comments on commit 7dc4c0f

Please sign in to comment.