limit gitlab builds to master (#2711)

This commit is contained in:
skwerlman 2017-05-10 02:53:11 -04:00 committed by ctrlaltca
parent 1811bad835
commit b47e262e7f

View file

@ -13,6 +13,15 @@ stages:
paths: paths:
- cache/ - cache/
.branches: &branches
only:
- master
.tags: &tags
tags:
- linux
- docker
#================================ DEBIAN-BASED ================================ #================================ DEBIAN-BASED ================================
@ -53,18 +62,16 @@ stages:
.build_1604: &1604 .build_1604: &1604
image: ubuntu:16.04 image: ubuntu:16.04
tags: <<: *tags
- linux <<: *branches
- docker
<<: *install_requirements_16xx <<: *install_requirements_16xx
<<: *artifacts_deb <<: *artifacts_deb
<<: *cache <<: *cache
.build_1610: &1610 .build_1610: &1610
image: ubuntu:16.10 image: ubuntu:16.10
tags: <<: *tags
- linux <<: *branches
- docker
<<: *install_requirements_16xx <<: *install_requirements_16xx
<<: *artifacts_deb <<: *artifacts_deb
<<: *cache <<: *cache
@ -103,9 +110,8 @@ build_debug_1610:
.build_stretch: &stretch .build_stretch: &stretch
image: debian:stretch image: debian:stretch
tags: <<: *tags
- linux <<: *branches
- docker
<<: *install_requirements_stretch <<: *install_requirements_stretch
<<: *artifacts_deb <<: *artifacts_deb
<<: *cache <<: *cache
@ -157,9 +163,8 @@ build_debug_stretch:
.build_fedora22: &fedora22 .build_fedora22: &fedora22
image: fedora:22 image: fedora:22
tags: <<: *tags
- linux <<: *branches
- docker
<<: *install_requirements_fedora22 <<: *install_requirements_fedora22
<<: *artifacts_rpm <<: *artifacts_rpm
<<: *cache <<: *cache