Browse Source

Merge pull request #587 from pelias/update_travis

Update travis
pull/590/head
Julian Simioni 8 years ago committed by GitHub
parent
commit
77113ce274
  1. 23
      .travis.yml
  2. 9
      package.json

23
.travis.yml

@ -1,23 +1,30 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- 0.10
- 0.12
- 4.4
- 5.8
- 4
- 5
- 6
matrix:
fast_finish: true
allow_failures:
- node_js: 4.4
- node_js: 5.8
- node_js: 6
env:
global:
- CXX=g++-4.8
matrix:
- TEST_SUITE=unit
script: "npm run $TEST_SUITE"
script: "npm run travis"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune

9
package.json

@ -7,14 +7,15 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "npm run unit",
"unit": "./bin/units",
"audit": "npm shrinkwrap; node node_modules/nsp/bin/nspCLI.js audit-shrinkwrap; rm npm-shrinkwrap.json;",
"ciao": "node node_modules/ciao/bin/ciao -c test/ciao.json test/ciao",
"coverage": "node_modules/.bin/istanbul cover test/unit/run.js",
"audit": "npm shrinkwrap; node node_modules/nsp/bin/nspCLI.js audit-shrinkwrap; rm npm-shrinkwrap.json;",
"docs": "./bin/generate-docs",
"lint": "jshint .",
"start": "node index.js",
"test": "npm run unit",
"travis": "npm test",
"unit": "./bin/units",
"validate": "npm ls"
},
"repository": {

Loading…
Cancel
Save