Skip to content

Commit

Permalink
Travis should check latest node and lts
Browse files Browse the repository at this point in the history
  • Loading branch information
QWp6t committed Sep 2, 2016
1 parent c952fd1 commit 65b3049
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ php:
- nightly

env:
- TRAVIS_NODE_VERSION="4.2" CXX="g++-4.8"
- TRAVIS_NODE_VERSION="5.3" CXX="g++-4.8"
- TRAVIS_NODE_VERSION="4" CXX="g++-4.8"
- TRAVIS_NODE_VERSION="6" CXX="g++-4.8"

matrix:
fast_finish: true
Expand All @@ -33,7 +33,7 @@ before_install:
- composer self-update

install:
- source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION
- travis_retry npm install -g npm@latest
- travis_retry npm install -g eslint
- node -v && npm -v
Expand All @@ -43,5 +43,8 @@ install:
- composer install -o --prefer-dist --no-interaction

script:
- npm run test
- npm run build
- npm run clean
- npm run "build:production"
- composer test

0 comments on commit 65b3049

Please sign in to comment.