From 704e23dca0647d104a8ef2cbda69bd63efe38293 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Wed, 10 Jul 2019 10:56:36 +0200 Subject: [PATCH] Run tests on CI --- .travis.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3e9f562..518c575 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ install: script: - npm run lint:wrapper - npm run lint:contract-tests - # - yarn lint:contracts + - npm test branches: only: diff --git a/package.json b/package.json index bfe3b93..ce2000c 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "lint:contracts": "solhint \"contracts/**/*.sol\" \"apps/*/contracts/**/*.sol\"", "lint:contract-tests": "eslint apps/*/test", "lint:wrapper": "eslint lib/", + "test": "npm run test:token && npm run test:contributor && npm run test:contribution && npm run test:proposal", "test:token": "cd apps/token && npm run test", "test:contributor": "cd apps/contributor && npm run test", "test:contribution": "cd apps/contribution && npm run test",