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 - sccache -s
test-linux-stable: test-linux-stable: &test-linux
stage: test stage: test
<<: *docker-env <<: *docker-env
variables: variables:
@@ -117,30 +117,17 @@ test-linux-stable:
- time cargo test --all --release --verbose --locked - time cargo test --all --release --verbose --locked
- sccache -s - sccache -s
test-linux-stable-int: &test test-linux-stable-int:
stage: test <<: *test-linux
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]+$/
except: except:
refs:
- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
variables: variables:
- $DEPLOY_TAG - $DEPLOY_TAG
before_script:
- sccache -s
- ./scripts/build.sh --locked
script: 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 - sccache -s
allow_failure: true allow_failure: true