Update to npm@3 on travis

This commit is contained in:
Roman Hotsiy 2016-08-28 22:51:35 +03:00
parent 798869944f
commit 236ceafd8b
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -25,6 +25,7 @@ addons:
cache: cache:
directories: directories:
- node_modules - node_modules
before_install: if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi
before_script: before_script:
- npm run e2e-server > /dev/null & # kill e2e server - npm run e2e-server > /dev/null & # kill e2e server
- sleep 3 # give server time to start - sleep 3 # give server time to start