-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
42 lines (42 loc) · 982 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
38
39
40
41
42
dist: trusty
language: node_js
node_js:
- "11"
cache: npm
sudo: required
services:
- docker
env:
global:
- DOCKER_COMPOSE_VERSION=1.23.2
jobs:
- TEST_SUITE="test:unit"
- TEST_SUITE="test:integration:baseToken"
- TEST_SUITE="test:integration:eip20Token"
- TEST_SUITE="test:subgraph"
- TEST_SUITE="test:integration:m1"
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- sudo apt-get install libsecret-1-dev
branches:
only:
- master
- develop
- /^feature\/.*/
- /^release-.*/
- /^hotfix-.*/
notifications:
email:
recipients:
on_success: always
on_failure: always
install:
- npm ci
script:
- npm run ${TEST_SUITE}
after_failure:
- cat /home/travis/.npm/_logs/*-debug.log