forked from cardstack/cardstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (29 loc) · 739 Bytes
/
.travis.yml
File metadata and controls
38 lines (29 loc) · 739 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
---
language: node_js
node_js:
- "8"
sudo: required
services:
- docker
env:
global:
- ELASTICSEARCH=http://127.0.0.1:9200
- PGHOST=localhost
- PGPORT=5444
- PGUSER=postgres
cache:
directories:
- node_modules
before_install:
- docker run -d --rm -p 9200:9200 --name elasticsearch cardstack/elasticsearch:dev
- docker run -d --rm -p 5444:5432 --name postgres cardstack/pg-test
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn install
- travis_wait ./node_modules/.bin/lerna bootstrap
before_script:
- yarn run blockchain &
- wget -q --waitretry=1 --retry-connrefused -T 1 -O - http://127.0.0.1:9200
- node packages/postgresql/node-tests/pg-server/wait-for-db.js
script:
- yarn test