File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 15
15
- DISPLAY=$(if [[ $TRAVIS_OS_NAME == "linux" ]]; then echo ':99.0'; fi)
16
16
- MOZ_XVFB=$(if [[ $TRAVIS_OS_NAME == "linux" ]]; then echo 1; fi)
17
17
matrix :
18
- - NODE_VERSION="0.10"
19
- - NODE_VERSION="0.12"
20
18
- NODE_VERSION="4"
21
19
- NODE_VERSION="stable"
22
20
before_install :
@@ -32,6 +30,5 @@ install:
32
30
before_script :
33
31
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then sh -e /etc/init.d/xvfb start; fi
34
32
script :
35
- - if [[ $NODE_VERSION != "0.10" && $NODE_VERSION != "0.12" ]]; then $NPM run lint; fi
36
33
- $NPM test
37
34
sudo : required
Original file line number Diff line number Diff line change 9
9
"scripts" : {
10
10
"download-browser" : " node --harmony ./test/helpers/download-test-browsers.js" ,
11
11
"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" ,
13
13
"test" : " node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --ui tdd test/test*"
14
14
},
15
15
"repository" : {
You can’t perform that action at this time.
0 commit comments