This commit is contained in:
TriplEight
2019-06-11 15:14:51 +02:00
committed by Bastian Köcher
parent c24d278365
commit cf8a021e22
+8 -21
View File
@@ -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