node-query/.gitlab-ci.yml

36 lines
640 B
YAML
Raw Permalink Normal View History

2016-07-20 14:59:25 -04:00
before_script:
# Install dependencies
2017-02-28 16:16:12 -05:00
- sh test/docker_install.sh > /dev/null
- yarn
2016-07-20 14:59:25 -04:00
services:
- mariadb:latest
2017-02-28 16:14:17 -05:00
- postgres:alpine
2016-07-20 14:59:25 -04:00
variables:
MYSQL_ROOT_PASSWORD: foo-bar-baz
MYSQL_DATABASE: test
MYSQL_USER: test
MYSQL_PASSWORD: test
POSTGRES_DB: test
POSTGRES_USER: test
POSTGRES_PASSWORD: test
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache:
paths:
- node_modules/
test:8:
image: node:8-alpine
script: yarn run test
test:9:
image: node:9-alpine
2017-02-28 16:14:17 -05:00
script: yarn run test
2016-07-20 14:59:25 -04:00
test:latest:
image: node:alpine
2017-02-28 16:14:17 -05:00
script: yarn run test