Skip to content

Commit a0a34de

Browse files
committed
Updated travis install.
1 parent 162fbcf commit a0a34de

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.travis.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
sudo: required
22
language:
33
- ruby
4-
- node_js
5-
node_js:
6-
- "10"
74
cache:
85
bundler: true
9-
directories: "node_modules"
10-
services:
6+
yarn: true
7+
services:
118
- postgresql
129

1310
# Note: we will build pull requests, and these branches
@@ -38,8 +35,13 @@ before_install:
3835
- chmod +x ./cc-test-reporter
3936
- export PATH=$PWD/geckodriver:$PATH
4037

38+
install:
39+
- nvm install 10
40+
- npm i -g yarn
41+
- bundle install
42+
- yarn install
43+
4144
before_script:
42-
- yarn install
4345
- ./scripts/install_phantomjs.sh
4446
- RAILS_ENV=test bundle exec rake db:create db:migrate
4547
- RAILS_ENV=test bundle exec rake assets:precompile

0 commit comments

Comments
 (0)