-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (30 loc) · 835 Bytes
/
.travis.yml
File metadata and controls
37 lines (30 loc) · 835 Bytes
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
node_js:
- "10.14.1"
cache: npm
sudo: required
services:
- docker
notifications:
email: false
before_install:
- sudo apt-get install libsecret-1-dev
script:
- echo 'npm ci:' && echo -en 'travis_fold:start:script.1\\r'
- npm ci
- echo -en 'travis_fold:end:script.1\\r'
- npm run test-env-up
- echo 'Debug info:' && echo -en 'travis_fold:start:script.3\\r'
- docker-compose logs ganache
- docker-compose logs graph-node
- echo -en 'travis_fold:end:script.3\\r'
# sleep a bit to make sure the subgraph is ready
- sleep 15
- echo -en 'travis_fold:end:script.2\\r'
- npm run lint
- npm run test
- npm run build
after_success:
# - npm run report-coverage
# - test $TRAVIS_BRANCH = "master" && npm run deploy-docs
# - test $TRAVIS_BRANCH = "master" && npm run semantic-release