From ab63e1fb4dbeaea8f8fa5e6e2a1bafde7a2c3662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 9 Nov 2018 14:43:40 -0500 Subject: 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. --- .gitlab-ci.yml | 2 -- 1 file changed, 2 deletions(-) (limited to '.gitlab-ci.yml') 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 -- cgit v1.2.3