summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGraeme Yeates <yeatesgraeme@gmail.com>2016-10-15 21:55:16 -0400
committerGraeme Yeates <yeatesgraeme@gmail.com>2016-10-16 13:56:10 -0400
commit46a83a2c828f55ee2c5c54096d352f730fbcd13b (patch)
tree2c85c94b08e902e7cf07775f2da05899a9a8fb33 /.travis.yml
parent569b552b61cb58f4b59014c5dea828958f3752b7 (diff)
downloadasync-46a83a2c828f55ee2c5c54096d352f730fbcd13b.tar.gz
Tweak travis configupdate-dependencies
Revert nyc upgrade
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml21
1 files changed, 14 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 6cdb549..ff46739 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,19 @@
+sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- - "6"
-addons:
- firefox: "49.0"
-sudo: false
+
+matrix:
+ include:
+ - node_js: "6"
+ addons:
+ firefox: "49.0"
+ env: BROWSER=true MAKE_TEST=true
+env:
+ matrix: BROWSER=false MAKE_TEST=false
+
after_success: npm run coveralls
# Needed to run Karma with Firefox on Travis
@@ -16,8 +23,8 @@ before_script:
- sh -e /etc/init.d/xvfb start
script:
- # ensure buildable
- - make
- npm test
+ # ensure buildable
+ - "[ $MAKE_TEST == false ] || make"
# test in firefox
- - npm run mocha-browser-test \ No newline at end of file
+ - "[ $BROWSER == false ] || npm run mocha-browser-test" \ No newline at end of file