Run tests on CI

This commit is contained in:
Basti 2019-07-10 10:56:36 +02:00
parent 6a4a9c78a8
commit 704e23dca0
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -24,6 +24,7 @@
"lint:contracts": "solhint \"contracts/**/*.sol\" \"apps/*/contracts/**/*.sol\"", "lint:contracts": "solhint \"contracts/**/*.sol\" \"apps/*/contracts/**/*.sol\"",
"lint:contract-tests": "eslint apps/*/test", "lint:contract-tests": "eslint apps/*/test",
"lint:wrapper": "eslint lib/", "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:token": "cd apps/token && npm run test",
"test:contributor": "cd apps/contributor && npm run test", "test:contributor": "cd apps/contributor && npm run test",
"test:contribution": "cd apps/contribution && npm run test", "test:contribution": "cd apps/contribution && npm run test",