update gitlab-ci

Defines the names of branches and tags for which the job will be built
  only:
    - master
    - beta
    - tags
    - stable
This commit is contained in:
Denis S. Soldatov aka General-Beck 2016-08-18 23:41:33 +07:00 committed by GitHub
parent 9adf77581c
commit 32d07c7339

View File

@ -11,6 +11,11 @@ cache:
linux-beta:
stage: build
image: ethcore/rust:beta
only:
- master
- beta
- tags
- stable
script:
- cargo build --release --verbose
- strip target/release/parity
@ -24,6 +29,11 @@ linux-beta:
linux-stable:
stage: build
image: ethcore/rust:stable
only:
- master
- beta
- tags
- stable
script:
- cargo build --release --verbose
- strip target/release/parity
@ -37,6 +47,11 @@ linux-stable:
linux-nightly:
stage: build
image: ethcore/rust:nightly
only:
- master
- beta
- tags
- stable
script:
- cargo build --release --verbose
- strip target/release/parity
@ -50,6 +65,11 @@ linux-nightly:
linux-centos:
stage: build
image: ethcore/rust-centos:latest
only:
- master
- beta
- tags
- stable
script:
- export CXX="g++"
- export CC="gcc"
@ -65,6 +85,11 @@ linux-centos:
linux-armv7:
stage: build
image: ethcore/rust-arm:latest
only:
- master
- beta
- tags
- stable
script:
- mkdir -p .cargo
- echo "[target.armv7-unknown-linux-gnueabihf]" >> .cargo/config
@ -82,6 +107,11 @@ linux-armv7:
linux-arm:
stage: build
image: ethcore/rust-arm:latest
only:
- master
- beta
- tags
- stable
script:
- mkdir -p .cargo
- echo "[target.arm-unknown-linux-gnueabihf]" >> .cargo/config
@ -99,6 +129,11 @@ linux-arm:
linux-armv6:
stage: build
image: ethcore/rust-arm:latest
only:
- master
- beta
- tags
- stable
script:
- mkdir -p .cargo
- echo "[target.arm-unknown-linux-gnueabi]" >> .cargo/config
@ -116,6 +151,11 @@ linux-armv6:
linux-aarch64:
stage: build
image: ethcore/rust-arm:latest
only:
- master
- beta
- tags
- stable
script:
- mkdir -p .cargo
- echo "[target.aarch64-unknown-linux-gnu]" >> .cargo/config
@ -132,6 +172,11 @@ linux-aarch64:
name: "${CI_BUILD_NAME}_parity"
darwin:
stage: build
only:
- master
- beta
- tags
- stable
script:
- cargo build --release --verbose
tags:
@ -142,6 +187,11 @@ darwin:
name: "${CI_BUILD_NAME}_parity"
windows:
stage: build
only:
- master
- beta
- tags
- stable
script:
- set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include;C:\vs2015\VC\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt
- set LIB=C:\vs2015\VC\lib;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10240.0\ucrt\x64