From 3a9e905e279799ee04f2495e9363efdde1e0fb0c Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Fri, 9 Jun 2017 16:59:48 +0300 Subject: [PATCH] Create .gitlab-ci.yml --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b83312b67..427311b02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ linux-stable: - stable - triggers script: - - rustup install 1.16 + - rustup install 1.16.0-x86_64-unknown-linux-gnu - rustup default 1.16.0-x86_64-unknown-linux-gnu - cargo build -j $(nproc) --release --features final $CARGOFLAGS - strip target/release/parity @@ -527,7 +527,7 @@ test-rust-stable: - git submodule update --init --recursive - export RUST_FILES_MODIFIED=$(git --no-pager diff --name-only $CI_BUILD_REF^ $CI_BUILD_REF | grep -v -e ^js -e ^\\. -e ^LICENSE -e ^README.md -e ^appveyor.yml -e ^test.sh -e ^windows/ -e ^scripts/ -e^mac/ -e ^nsis/ | wc -l) script: - - rustup install 1.16 + - rustup install 1.16.0-x86_64-unknown-linux-gnu - rustup default 1.16.0-x86_64-unknown-linux-gnu - export RUST_BACKTRACE=1 - if [ $RUST_FILES_MODIFIED -eq 0 ]; then echo "Skipping Rust tests since no Rust files modified."; else ./test.sh $CARGOFLAGS; fi