[CI]Try fixing travis by running npm install

This commit is contained in:
Jimmy 2021-04-30 15:55:25 +08:00
parent de43982b44
commit 96f9cf1c4e
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6

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