Skip to content

Commit

Permalink
Build: Update Node support versions
Browse files Browse the repository at this point in the history
Includes our supported versions in package.json to clarify the
current support.

This also brings our support policy in line with Rollup, so we can
avoid having to switch versions for building.

Fixes qunitjs#1067
  • Loading branch information
trentmwillis committed Nov 15, 2016
1 parent 9206143 commit eb642e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"
- "7"
env:
- NPM_SCRIPT=ci
matrix:
Expand All @@ -22,11 +22,7 @@ matrix:
before_install:
- true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJTVEFDS19VU0VSTkFNRT1icm93c2Vyc3RhY2txdW5pMQo=`
- true && `base64 --decode <<< ZXhwb3J0IEJST1dTRVJTVEFDS19LRVk9SllzeHJrVWk5aGJGVndkdW44ZUsK=`
# Use a recent version of Node to build
- nvm install 6
script:
# Switch back to the version of Node we want to test against
- nvm use $TRAVIS_NODE_VERSION
- npm run-script $NPM_SCRIPT
cache:
directories:
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,8 @@
"Tests"
]
},
"main": "qunit/qunit.js"
"main": "qunit/qunit.js",
"engines": {
"node" : "0.12.* || 4.* || 6.* || 7.*"
}
}

0 comments on commit eb642e7

Please sign in to comment.