diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5196cb9 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index f69495c..79420df 100644 --- a/package.json +++ b/package.json @@ -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"