node-query/.gitlab-ci.yml

32 lines
585 B
YAML
Raw Normal View History

2016-07-20 14:59:25 -04:00
before_script:
# Install dependencies
- bash test/docker_install.sh > /dev/null
- yarn
2016-07-20 14:59:25 -04:00
services:
- mariadb:latest
- 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:6:
image: node:6-alpine
2016-07-20 14:59:25 -04:00
script: npm run test
test:latest:
image: node:alpine
2016-11-18 22:07:50 -05:00
script: npm run test