mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
Merge branch 'improve-ci-time'
This commit is contained in:
commit
e59373dc9b
21
.travis.yml
21
.travis.yml
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user