-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (32 loc) · 761 Bytes
/
.travis.yml
File metadata and controls
43 lines (32 loc) · 761 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
38
39
40
41
42
43
language: node_js
addons:
hosts:
- graph.culturestake.local
services:
- docker
node_js:
- '11'
env:
- CIRCLES_DOCKER=$HOME/bitspossessed/culturestake-provisioning
before_install:
# disable travis postgres
- sudo /etc/init.d/postgresql stop
# get docker repository and copy configs
- git clone https://github.com/bitspossessed/culturestake-provisioning.git $CIRCLES_DOCKER
- cd $CIRCLES_DOCKER
- cp .env.example .env
# container setup via docker-compose and migrate contracts
- make build
- make up
- make contracts
- make subgraph
# try starting failed services
- make up
# copy core configs
- cd $TRAVIS_BUILD_DIR
- cp .env.example .env
install:
- npm install
script:
- npm run test
- npm run build