Skip to content

Commit

Permalink
Merge pull request #659 from phated/ci-updates
Browse files Browse the repository at this point in the history
Update Travis & AppVeyor to allow node 0.10 failures
  • Loading branch information
es128 authored Dec 29, 2017
2 parents 51ca0d5 + d2d8132 commit 77cf90f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
language: node_js
node_js:
- '9'
- '8'
- '7'
- '6'
- '5'
- '4'
- '0.12'
- '0.10'
os:
- linux
- osx
script:
- npm run ci-test
after_script:
- npm run coveralls
sudo: false
5 changes: 5 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Test against this version of Node.js
environment:
matrix:
- nodejs_version: "9"
- nodejs_version: "8"
- nodejs_version: "7"
- nodejs_version: "6"
Expand All @@ -9,6 +10,10 @@ environment:
- nodejs_version: "0.12"
- nodejs_version: "0.10"

matrix:
allow_failures:
- nodejs_version: "0.10"

# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"license": "MIT",
"scripts": {
"test": "istanbul test node_modules/mocha/bin/_mocha",
"ci-test": "istanbul cover _mocha && cat ./coverage/lcov.info | coveralls"
"ci-test": "istanbul cover _mocha",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"files": [
"index.js",
Expand Down

0 comments on commit 77cf90f

Please sign in to comment.