We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6199c0 commit 966ca73Copy full SHA for 966ca73
binci.yml
@@ -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
13
14
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
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
34
+ cmd: yarn run lint
35
+ build: yarn run build
0 commit comments