.gitlab-ci.yml 379 Bytes
Newer Older
1 2
image: node:6.2

3 4 5 6 7 8 9 10
services:
    - postgres:latest

variables:
    POSTGRES_DB: 'blendb_fixture'
    POSTGRES_USER: 'runner'
    POSTGRES_PASSWORD: ''

11 12
cache:
    paths:
13
        - node_modules
14 15 16 17 18 19

before_script:
    - npm install --silent

run_tests:
    script:
20
        - mv config/ci_test.yaml.example config/test.yaml
21 22 23
        - npm test
    tags:
        - node
24
        - postgres