From 170143b52c2f5d0cb6bf50e4aaa7074800f868c0 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Thu, 14 Dec 2017 10:12:14 -0500 Subject: [PATCH] update travis config --- .travis.yml | 4 ++++ package.json | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 793855d3..9e6a0af5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,7 @@ node_js: addons: code_climate: repo_token: 7454b1a666015e244c384d19f48c34e35d1ae58c3aa428ec542f10bbcb848358 +script: + - npm run lint + - npm run test + - npm run testdapp diff --git a/package.json b/package.json index 3e4fd0e2..fb163f72 100644 --- a/package.json +++ b/package.json @@ -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": {