diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08321660e..f688ede33 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,16 @@ image: debian:stretch-slim build_ubuntu_18_04: stage: build image: ubuntu:bionic #only: # - merge_requests before_script: - sed -i -e 's/# deb-src/deb-src/g' /etc/apt/sources.list - apt-get update - apt-get build-dep --yes --no-install-recommends umbrello - - apt-get install --yes --no-install-recommends ninja-build libkf5crash-dev curl ca-certificates git + - apt-get install --yes --no-install-recommends ninja-build libkf5crash-dev curl ca-certificates git gawk script: - REPO=$(git remote -v | gawk '{print $2}') - - BRANCH=$(git branch | sed 's,\*,,g') + - BRANCH=$(git branch | gawk '{print $2}'') - sh -x maintainer/ci-build.sh $REPO $BRANCH