Merge branch 'improve-ci-time'

This commit is contained in:
Justin 2018-06-27 14:27:38 -04:00
commit e59373dc9b

View File

@ -17,12 +17,13 @@ jobs:
include:
- stage: lint and build
node_js: node
script: npm run lint
script: npm run build
script:
- npm run lint
- npm run build
- &test
stage: test
node_js: 8
node_js: node
before_script:
## Spin up container
- cd test/docker/
@ -33,17 +34,9 @@ jobs:
- export PERSONAL_ACCESS_TOKEN=$(docker exec -it gitlab bash -lc 'printf "%q" "${PERSONAL_ACCESS_TOKEN}"')
- export GITLAB_URL=$(docker exec -it gitlab bash -lc 'printf "%q" "${GITLAB_URL}"')
script: npm run test
- <<: *test
node_js: lts/*
- <<: *test
node_js: 9
- <<: *test
node_js: node
script:
- nvm install node && npm ci && npm run build && npm run test
- stage: release
node_js: node
script: