ci(travis): always install node

pull/206/head^2
Felix Becker 2017-11-28 09:35:02 -08:00
parent 6a56007586
commit c50bbb1633
1 changed files with 6 additions and 4 deletions

View File

@ -8,8 +8,12 @@ cache:
- $HOME/.npm - $HOME/.npm
- $HOME/.composer/cache - $HOME/.composer/cache
before_install:
- nvm install 8
- nvm use 8
install: install:
- composer install --prefer-dist - npm install
script: script:
- npm run lint - npm run lint
@ -21,10 +25,8 @@ jobs:
- stage: release - stage: release
php: '7.0' php: '7.0'
install: install:
- composer install --prefer-dist --no-interaction --optimize-autoloader
- nvm install 8
- nvm use 8
- npm install - npm install
- composer install --prefer-dist --no-interaction --optimize-autoloader
script: script:
- npm run build - npm run build
- npm run semantic-release - npm run semantic-release