Skip to content

Commit

Permalink
Add Travis CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarlow-mcafee committed Aug 8, 2018
1 parent 902b2d1 commit a745392
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a745392

Please sign in to comment.