From cf8a021e22d45a482ce7acc01a52eb8d082a231b Mon Sep 17 00:00:00 2001 From: TriplEight Date: Tue, 11 Jun 2019 15:14:51 +0200 Subject: [PATCH] fix job (#2842) --- substrate/.gitlab-ci.yml | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/substrate/.gitlab-ci.yml b/substrate/.gitlab-ci.yml index 5b1291ac2d..d792fc6ebf 100644 --- a/substrate/.gitlab-ci.yml +++ b/substrate/.gitlab-ci.yml @@ -102,7 +102,7 @@ cargo-check-subkey: - sccache -s -test-linux-stable: +test-linux-stable: &test-linux stage: test <<: *docker-env variables: @@ -117,30 +117,17 @@ test-linux-stable: - time cargo test --all --release --verbose --locked - sccache -s -test-linux-stable-int: &test - stage: test - variables: - RUST_TOOLCHAIN: stable - # Enable debug assertions since we are running optimized builds for testing - # but still want to have debug assertions. - RUSTFLAGS: -Cdebug-assertions=y - TARGET: native - tags: - - linux-docker - only: - - tags - - master - - schedules - - web - - /^[0-9]+$/ +test-linux-stable-int: + <<: *test-linux except: + refs: + - /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 variables: - $DEPLOY_TAG - before_script: - - sccache -s - - ./scripts/build.sh --locked script: - - time RUST_LOG=sync=trace,consensus=trace,client=trace,state-db=trace,db=trace,forks=trace,state_db=trace,storage_cache=trace cargo test -p node-cli --release --verbose --locked -- --ignored --test-threads=1 + - ./scripts/build.sh --locked + - time RUST_LOG=sync=trace,consensus=trace,client=trace,state-db=trace,db=trace,forks=trace,state_db=trace,storage_cache=trace + cargo test -p node-cli --release --verbose --locked -- --ignored --test-threads=1 - sccache -s allow_failure: true