forked from aragon/aragon-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
74 lines (72 loc) · 1.96 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
language: node_js
cache:
timeout: 600
directories:
- node_modules
- apps/agent/node_modules
- apps/finance/node_modules
- apps/survey/node_modules
- apps/token-manager/node_modules
- apps/token-manager/app/node_modules
- apps/vault/node_modules
- apps/voting/node_modules
- future-apps/payroll/node_modules
- shared/migrations/node_modules
- shared/minime/node_modules
- shared/test-helpers/node_modules
notifications:
email: false
node_js:
- '8'
env:
global:
- INSTALL_FRONTEND=false
install:
- travis_wait 60 npm install
jobs:
allow_failures:
- script: npm run coverage:payroll
include:
- stage: tests
script: npm run lint
name: "Lint"
- script: npm run test:agent
name: "Agent"
- script: npm run test:finance
name: "Finance"
- script: npm run test:payroll:except:payday
name: "Payroll except payday"
- script: npm run test:survey
name: "Survey"
- script: npm run test:token-manager
name: "Token Manager"
- script: npm run test:token-manager:app
name: "Token Manager frontend"
env:
- INSTALL_FRONTEND=true
- script: npm run test:vault
name: "Vault"
- script: npm run test:voting
name: "Voting"
- script: npm run test:shared
name: "Shared"
- stage: coverage
script: npm run coverage:agent
name: "Agent"
- script: npm run coverage:finance
name: "Finance"
- script: npm run coverage:payroll
name: "Payroll"
- script: npm run coverage:survey
name: "Survey"
- script: npm run coverage:token-manager
name: "Token Manager"
- script: npm run coverage:vault
name: "Vault"
- script: npm run coverage:voting
name: "Voting"
- stage: integration
script: npm run test:payroll:only:payday
name: "Payroll payday"
after_success:
- ./node_modules/.bin/lcov-result-merger 'apps/*/coverage/lcov.info' | ./node_modules/.bin/coveralls