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 | 961619c2daca6f96b433da079f69a0d21b760867 (patch) | |
tree | 5141c343e1e5bcf6805f39599889a90f098e382b /.gitlab-ci.yml | |
parent | 6ffc55dec8df4775965a011ade0d8e4c6afc8b8f (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 |