forked from aragon/aragon-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (42 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sudo: required
services:
- docker
language: node_js
cache:
directories:
- node_modules
- apps/finance/node_modules
- apps/finance/app/node_modules
- apps/survey/node_modules
- apps/survey/app/node_modules
- apps/token-manager/node_modules
- apps/token-manager/app/node_modules
- apps/vault/node_modules
- apps/voting/node_modules
- apps/voting/app/node_modules
- shared/migrations/node_modules
- shared/minime/node_modules
- shared/test-helpers/node_modules
notifications:
email: false
node_js:
- '8'
env:
- TASK=lint
- TASK=test:finance
- TASK=test:survey
- TASK=test:token-manager
- TASK=test:vault
- TASK=test:voting
- TASK=coverage:finance
- TASK=coverage:survey
- TASK=coverage:token-manager
- TASK=coverage:vault
- TASK=coverage:voting
- TASK=test:shared
before_script:
- npm prune
script:
- travis_wait 60 npm run $TASK
after_success:
- ./node_modules/.bin/lcov-result-merger 'apps/*/coverage/lcov.info' | ./node_modules/.bin/coveralls