-
Notifications
You must be signed in to change notification settings - Fork 212
/
.travis.yml
57 lines (56 loc) · 1.72 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
language: node_js
cache:
timeout: 600
directories:
- node_modules
- apps/agent/node_modules
- apps/agreement/node_modules
- apps/finance/node_modules
- apps/token-manager/node_modules
- apps/token-manager/app/node_modules
- apps/vault/node_modules
- apps/voting/node_modules
- apps/voting-disputable/node_modules
- shared/migrations/node_modules
notifications:
email: false
node_js:
- '12'
install:
- yarn install --frozen-lockfile
jobs:
include:
- stage: tests
script: yarn lint
name: "Lint"
- script: yarn test:agreement
name: "Agreement"
- script: yarn test:agent
name: "Agent"
- script: yarn test:finance
name: "Finance"
- script: yarn test:token-manager
name: "Token Manager"
- script: yarn test:vault
name: "Vault"
- script: yarn test:voting
name: "Voting"
- script: yarn test:voting-disputable
name: "Voting Disputable"
- stage: coverage
script: echo "Skipping Agreement coverage since buidler plugin cannot be overriden for custom compilation yet" # yarn coverage:agreement
name: "Agreement"
- script: yarn coverage:agent
name: "Agent"
- script: yarn coverage:finance
name: "Finance"
- script: yarn coverage:token-manager
name: "Token Manager"
- script: yarn coverage:vault
name: "Vault"
- script: yarn coverage:voting
name: "Voting"
- script: echo "Skipping Disputablevoting coverage since buidler plugin cannot be overriden for custom compilation yet" # script: yarn coverage:voting-disputable
name: "Voting Disputable"
after_success:
- ./node_modules/.bin/lcov-result-merger 'apps/*/coverage/lcov.info' | ./node_modules/.bin/coveralls