Browse Source

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.
closed-social-glitch-2
Thibaut Girka 5 years ago
parent
commit
7a7d8c335e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      .travis.yml

+ 1
- 0
.travis.yml 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

Loading…
Cancel
Save