Skip to content

Commit

Permalink
add travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Jan 30, 2016
1 parent a9af05a commit 71486cf
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sudo: false
os:
- linux
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4"
- "5"
env:
matrix:
- TEST_SUITE=unit
matrix:
include:
- node_js: "4"
env: CXX=g++-4.8 TEST_SUITE=lint
script: npm run $TEST_SUITE
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
},
"main": "./lib/coininfo.js",
"scripts": {
"test": "standard && mocha"
"lint": "standard",
"test": "npm run lint && npm run unit",
"unit": "mocha"
},
"dependencies": {
"object-assign": "^4.0.1"
Expand Down

0 comments on commit 71486cf

Please sign in to comment.