let travis check if npm package is not broken

This commit is contained in:
Marek Kotewicz 2015-03-31 11:03:14 +02:00
parent 92aba81245
commit 2536888f81
3 changed files with 20 additions and 0 deletions

View File

@ -14,4 +14,5 @@ after_script:
- npm run-script build
- npm run-script karma
- npm run-script test-coveralls
- cd test/node && npm install && node app.js

5
test/node/app.js Normal file
View File

@ -0,0 +1,5 @@
var web3 = require('ethereum.js');
console.log(web3.version.api);

14
test/node/package.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "node",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"ethereum.js": "ethereum/ethereum.js#master"
}
}