diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b8ae87c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +sudo: false + +language: node_js + +node_js: + - '4' + - '6' + - '8' + - '9' + - '10' + +env: + - CXX=g++-4.8 + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.8 + +script: + - npm run ci diff --git a/package.json b/package.json index 0e191b5..e63681e 100644 --- a/package.json +++ b/package.json @@ -49,8 +49,7 @@ "lint": "npm run lint:jshint && npm run lint:standard", "lint:jshint": "jshint lib sample scripts", "lint:standard": "standard | snazzy", - "preci": "npm run lint", - "ci": "npm run test", + "ci": "npm run lint", "predoc": "rimraf out/jsdoc", "doc": "jsdoc -c ./doc/conf.json doc/index.md -r lib/ -u doc/sdk -d out/jsdoc", "postdoc": "node scripts/postdoc.js"