[CI]Try fixing travis by running npm install

This commit is contained in:
Jimmy 2021-04-30 15:55:25 +08:00 committed by CactusPuppy
parent c7533b4a33
commit 6c64114380
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -43,6 +43,7 @@ jobs:
- gem install bundler -v $(tail -n 1 Gemfile.lock)
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > $CCTR
- chmod +x $CCTR
- npm install
before_script:
- RAILS_ENV=test bundle exec rake db:bootstrap --trace
- RAILS_ENV=test bundle exec bin/rails webdrivers:chromedriver:update