File tree 2 files changed +15
-8
lines changed
2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
language : node_js
2
3
node_js :
3
4
- " 0.10"
4
5
- " 0.12"
5
6
- " 4"
6
- - " 6"
7
- addons :
8
- firefox : " 49.0"
9
- sudo : false
7
+
8
+ matrix :
9
+ include :
10
+ - node_js : " 6"
11
+ addons :
12
+ firefox : " 49.0"
13
+ env : BROWSER=true MAKE_TEST=true
14
+ env :
15
+ matrix : BROWSER=false MAKE_TEST=false
16
+
10
17
after_success : npm run coveralls
11
18
12
19
# Needed to run Karma with Firefox on Travis
@@ -16,8 +23,8 @@ before_script:
16
23
- sh -e /etc/init.d/xvfb start
17
24
18
25
script :
19
- # ensure buildable
20
- - make
21
26
- npm test
27
+ # ensure buildable
28
+ - " [ $MAKE_TEST == false ] || make"
22
29
# test in firefox
23
- - npm run mocha-browser-test
30
+ - " [ $BROWSER == false ] || npm run mocha-browser-test"
Original file line number Diff line number Diff line change 46
46
"karma-mocha-reporter" : " ^2.2.0" ,
47
47
"mocha" : " ^3.1.2" ,
48
48
"native-promise-only" : " ^0.8.0-a" ,
49
- "nyc" : " ^8.3 .0" ,
49
+ "nyc" : " ^7.0 .0" ,
50
50
"recursive-readdir" : " ^1.3.0" ,
51
51
"rimraf" : " ^2.5.0" ,
52
52
"rollup" : " ^0.36.3" ,
You can’t perform that action at this time.
0 commit comments