diff options
author | Antoine Beaupré <anarcat@debian.org> | 2018-11-09 14:43:40 -0500 |
---|---|---|
committer | Antoine Beaupré <anarcat@debian.org> | 2018-11-09 14:43:43 -0500 |
commit | ab63e1fb4dbeaea8f8fa5e6e2a1bafde7a2c3662 (patch) | |
tree | 82f37776e3c7556b2216de88edefb6a3b450effd /.gitlab-ci.yml | |
parent | 7ce8ad4e0dcc783c289540a86a1bcbf8d0ade902 (diff) |
fix CI: do not try to checkout a branch
This makes all jobs fail on merge requests, because the branch being
tested is deliberately *not* the master branch.
Gitlab CI should normally checkout the right branch at the right
point, so we shouldn't be messing around with git like that.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index acf13409ba..557ba339dc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,8 +5,6 @@ check-syntax: - apt-get update && apt-get -y --no-install-recommends install git ca-certificates make python python-apt script: - - git checkout master - - git pull - make check-syntax # https://docs.gitlab.com/ce/ci/yaml/#shallow-cloning |