-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.travis.yml
37 lines (36 loc) · 931 Bytes
/
.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
language: node_js
cache:
timeout: 600
directories:
- node_modules
- apps/token-wrapper/node_modules
- shared/contract-utils/node_modules
notifications:
email: false
node_js:
- '10'
env:
global:
- INSTALL_FRONTEND=false
install:
- travis_wait 60 npm install
jobs:
include:
- stage: tests
script: npm run lint
name: "Lint"
- script: npm run test:token-wrapper
name: "Token Wrapper"
- script: npm run test:voting-aggregator
name: "Voting Aggregator"
- script: npm run test:shared
name: "Shared"
- stage: coverage
script: npm run coverage:token-wrapper
name: "Token Wrapper"
- script: npm run coverage:voting-aggregator
name: "Voting Aggregator"
- script: npm run coverage:shared
name: "Shared"
after_success:
- ./node_modules/.bin/lcov-result-merger '{apps,shared}/*/coverage/lcov.info' | ./node_modules/.bin/coveralls