change(ci): take advantage of auto cancel pending pipelines

This commit is contained in:
Songtronix 2020-05-14 17:48:10 +02:00
parent 7e58f80f11
commit 07d7d17182

View File

@ -1,15 +1,19 @@
image: registry.gitlab.com/veloren/veloren-docker-ci:latest
stages:
- optional-builds
- check-compile
- build-post
- publish
variables:
GIT_STRATEGY: fetch
GIT_DEPTH: 3
GIT_CLEAN_FLAGS: -f
stages:
- optional-builds
- check-compile
- build-post
- publish
default:
image: registry.gitlab.com/veloren/veloren-docker-ci:latest
# https://docs.gitlab.com/ee/ci/pipelines/settings.html#auto-cancel-pending-pipelines
interruptible: true
before_script:
- source $HOME/.cargo/env