You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
483 B
25 lines
483 B
pipeline:
|
|
build:
|
|
image: node:${NODE_VERSION}
|
|
environment:
|
|
- DB_HOST=database
|
|
- DB_PORT=5432
|
|
- DB_USER=postgres
|
|
- DB_NAME=mystorage
|
|
- NODE_ENV=test
|
|
- HOST_URL="http://localhost:10230"
|
|
commands:
|
|
- npm install
|
|
- npm run dbtool
|
|
- npm run test
|
|
services:
|
|
database:
|
|
image: postgres
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_DB=mystorage
|
|
matrix:
|
|
NODE_VERSION:
|
|
- latest
|
|
- "8"
|
|
- "9" |