[7.0] Remove node 0.10, 0.12 and 5 from Travis (#284)

* Remove node 0.10, 0.12 and 5 from Travis

* add engines to package.json
This commit is contained in:
Sergey Rubanov 2017-01-13 00:51:05 +03:00 committed by Daniel Tschinder
parent 5785f0ce72
commit b72d4d40a5
2 changed files with 4 additions and 10 deletions

View File

@ -1,24 +1,14 @@
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "6"
- "7"
before_install:
# Rollup doesn't support node < 4.x. Switch to latest for build
- . $HOME/.nvm/nvm.sh
- nvm install stable && nvm use stable
before_script:
- 'if [ -n "${BABEL-}" ]; then make bootstrap-babel ; fi'
- 'if [ -n "${FLOWTESTS-}" ]; then make bootstrap-flow ; fi'
- 'BABEL_ENV=test npm run build'
# Switch back to node version currently being tested prior to test run
- 'nvm use $TRAVIS_NODE_VERSION;'
script:
- 'if [ -n "${LINT-}" ]; then npm run lint ; fi'

View File

@ -11,6 +11,10 @@
"bin",
"lib"
],
"engines" : {
"node" : ">=4.2.0",
"npm": ">=2.14.7"
},
"devDependencies": {
"ava": "^0.17.0",
"babel-cli": "^6.14.0",