diff --git a/.travis.yml b/.travis.yml index 9393142d..42bdab85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 95c110d9..61a173c2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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" @@ -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 diff --git a/package.json b/package.json index cf2f61d1..4731eb67 100644 --- a/package.json +++ b/package.json @@ -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",