Newer
Older
# Info: http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service
services:
MONGODB_URL: 'mongodb:27017/test'
JWT_SECRET: 'test'
# http://docs.gitlab.com/ee/ci/yaml/README.html#cache
cache:
paths:
- node_modules/
test_client:
script:
- cd app/client
MONGODB_URL=$MONGODB_URL \
JWT_SECRET=$JWT_SECRET \
npm run test