Re-install test/dev dependencies before running tests

before_script used to trigger “yarn install --no-progress --production”,
which would uninstall dependencies required to run the tests.

Until railties is fixed or we move to Circle CI, work around that
issue by re-installing dev dependencies.
signup-info-prompt
Thibaut Girka 2018-07-09 18:49:40 +02:00
parent d392020da6
commit 7a7d8c335e
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ before_install:
before_script:
- travis_wait ./bin/rails parallel:create parallel:load_schema parallel:prepare assets:precompile
- yarn install --no-progress
script:
- travis_retry bundle exec parallel_test spec/ --group-by filesize --type rspec