about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-07-09 18:49:40 +0200
committerThibaut Girka <thib@sitedethib.com>2018-07-09 19:19:23 +0200
commit7a7d8c335e086b96b4bdc58bd4cac0a260f2ea9f (patch)
tree302132dd90832f35fed769009f3ea589c77fd136
parentd392020da6ff4511a2925b327de23933f374bea3 (diff)
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.
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 1529c81fc..8fde90200 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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