update travis config

This commit is contained in:
Iuri Matias 2017-12-14 10:12:14 -05:00
parent b56a138b62
commit 170143b52c
2 changed files with 8 additions and 1 deletions

View File

@ -5,3 +5,7 @@ node_js:
addons:
code_climate:
repo_token: 7454b1a666015e244c384d19f48c34e35d1ae58c3aa428ec542f10bbcb848358
script:
- npm run lint
- npm run test
- npm run testdapp

View File

@ -3,7 +3,10 @@
"version": "2.6.1",
"description": "Embark is a framework that allows you to easily develop and deploy DApps",
"scripts": {
"test": "./node_modules/.bin/eslint lib/ && mocha test/ --no-timeouts && cd test_app/ && npm install && ../bin/embark test",
"lint": "./node_modules/.bin/eslint lib/",
"test": "mocha test/ --no-timeouts",
"testdapp": "cd test_app/ && npm install && ../bin/embark test",
"fulltest": "npm run lint && npm run test && npm run testdapp",
"prepare": "webpack"
},
"bin": {