From 78d1d72f547ced26da0b3f00066358f2ff7fcbf1 Mon Sep 17 00:00:00 2001 From: Andreas Stallinger Date: Wed, 23 Aug 2017 11:12:40 +0000 Subject: [PATCH] build: ci only build release branches, master, tags --- .gitlab-ci.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cf7468c9..3167e4be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,3 @@ - variables: MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" IMAGE_64: coatisoftware/centos6_64_qt_llvm:qt591-llvm401 @@ -41,6 +40,10 @@ variables: build:Linux64: image: $IMAGE_64 + only: + - /^release-.*$/ + - master + - tags cache: key: cache_linux_64 paths: @@ -50,6 +53,10 @@ build:Linux64: build:Linux32: image: $IMAGE_32 + only: + - /^release-.*$/ + - master + - tags cache: key: cache_linux_32 paths: @@ -58,12 +65,6 @@ build:Linux32: when: manual <<: *build_def -build:Linux32_tag: - image: $IMAGE_32 - only: - - tags - <<: *build_def - LicenseGenerator: image: $IMAGE_64 stage: build