build: ci only build release branches, master, tags
This commit is contained in:
+8
-7
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
|
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
|
||||||
IMAGE_64: coatisoftware/centos6_64_qt_llvm:qt591-llvm401
|
IMAGE_64: coatisoftware/centos6_64_qt_llvm:qt591-llvm401
|
||||||
@@ -41,6 +40,10 @@ variables:
|
|||||||
|
|
||||||
build:Linux64:
|
build:Linux64:
|
||||||
image: $IMAGE_64
|
image: $IMAGE_64
|
||||||
|
only:
|
||||||
|
- /^release-.*$/
|
||||||
|
- master
|
||||||
|
- tags
|
||||||
cache:
|
cache:
|
||||||
key: cache_linux_64
|
key: cache_linux_64
|
||||||
paths:
|
paths:
|
||||||
@@ -50,6 +53,10 @@ build:Linux64:
|
|||||||
|
|
||||||
build:Linux32:
|
build:Linux32:
|
||||||
image: $IMAGE_32
|
image: $IMAGE_32
|
||||||
|
only:
|
||||||
|
- /^release-.*$/
|
||||||
|
- master
|
||||||
|
- tags
|
||||||
cache:
|
cache:
|
||||||
key: cache_linux_32
|
key: cache_linux_32
|
||||||
paths:
|
paths:
|
||||||
@@ -58,12 +65,6 @@ build:Linux32:
|
|||||||
when: manual
|
when: manual
|
||||||
<<: *build_def
|
<<: *build_def
|
||||||
|
|
||||||
build:Linux32_tag:
|
|
||||||
image: $IMAGE_32
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
<<: *build_def
|
|
||||||
|
|
||||||
LicenseGenerator:
|
LicenseGenerator:
|
||||||
image: $IMAGE_64
|
image: $IMAGE_64
|
||||||
stage: build
|
stage: build
|
||||||
|
|||||||
Reference in New Issue
Block a user