Skip to content

Commit 966ca73

Browse files
author
Peter Svetlichny
committed
feat(binci): add binci
1 parent d6199c0 commit 966ca73

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

binci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
from: technologyadvice/node-build:6
2+
services:
3+
- postgres:
4+
from: postgres
5+
env:
6+
- POSTGRES_USER=test
7+
- POSTGRES_PASSWORD=test
8+
- POSTGRES_DB=test
9+
expose:
10+
- 5432:5432
11+
env:
12+
- POSTGRES_USER=test
13+
- POSTGRES_PASSWORD=test
14+
- POSTGRES_DB=test
15+
volumes:
16+
- ${HOME}/:/root
17+
before: |
18+
export MODLI_POSTGRES_HOST=$POSTGRES_PORT_5432_TCP_ADDR
19+
tasks:
20+
env: env | sort
21+
clean:
22+
disable: '*'
23+
cmd: yarn run clean
24+
install:
25+
disable: '*'
26+
cmd: yarn install
27+
mocha: |
28+
node ./scripts/postgres_conn.js
29+
yarn run mocha
30+
test: yarn run test
31+
cover: yarn run cover
32+
lint:
33+
disable: '*'
34+
cmd: yarn run lint
35+
build: yarn run build

0 commit comments

Comments
 (0)