fix travis

master
fengmk2 2015-05-16 22:09:13 +08:00
parent 15864d180d
commit ce2881e72c
2 changed files with 2 additions and 24 deletions

View File

@ -1,7 +1,8 @@
language: node_js
node_js:
- 'iojs-2'
- 'iojs-1'
- '0.12'
- '0.10'
- '0.11'
script: "npm run test-travis"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

View File

@ -1,23 +0,0 @@
environment:
matrix:
- nodejs_version: "1.3"
- nodejs_version: "0.12"
- nodejs_version: "0.10"
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm test
# Don't actually build.
build: off