Skip to content

Commit dbcc4d7

Browse files
committed
Stop testing on Node.js 0.10 and 0.12
1 parent 2a50016 commit dbcc4d7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ env:
1515
- DISPLAY=$(if [[ $TRAVIS_OS_NAME == "linux" ]]; then echo ':99.0'; fi)
1616
- MOZ_XVFB=$(if [[ $TRAVIS_OS_NAME == "linux" ]]; then echo 1; fi)
1717
matrix:
18-
- NODE_VERSION="0.10"
19-
- NODE_VERSION="0.12"
2018
- NODE_VERSION="4"
2119
- NODE_VERSION="stable"
2220
before_install:
@@ -32,6 +30,5 @@ install:
3230
before_script:
3331
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
3432
script:
35-
- if [[ $NODE_VERSION != "0.10" && $NODE_VERSION != "0.12" ]]; then $NPM run lint; fi
3633
- $NPM test
3734
sudo: required

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"download-browser": "node --harmony ./test/helpers/download-test-browsers.js",
1111
"lint": "node ./node_modules/eslint/bin/eslint --ignore-path .gitignore '.'",
12-
"pretest": "npm run download-browser",
12+
"pretest": "npm run lint && npm run download-browser",
1313
"test": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --ui tdd test/test*"
1414
},
1515
"repository": {

0 commit comments

Comments
 (0)