build: ci only build release branches, master, tags
This commit is contained in:
+8
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user