Merge pull request #1 from 67P/dev/run_tests_on_ci

Run tests on CI
This commit is contained in:
Haythem Sellami 2019-07-10 10:08:27 +01:00 committed by GitHub
commit 353a1c3532
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,7 @@ install:
script:
- npm run lint:wrapper
- npm run lint:contract-tests
# - yarn lint:contracts
- npm test
branches:
only:

View File

@ -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",