rebuilding CI scripts

This commit is contained in:
Denis S. Soldatov aka General-Beck 2018-08-02 15:05:15 +03:00
parent 42a0ba5d06
commit df9a1e49ee
No known key found for this signature in database
GPG Key ID: 3E5771903C3EE2DE

10
test.sh
View File

@ -32,13 +32,13 @@ set -e
if [ "$VALIDATE" -eq "1" ]; then if [ "$VALIDATE" -eq "1" ]; then
# Validate --no-default-features build # Validate --no-default-features build
echo "________Validate build________" echo "________Validate build________"
cargo check --no-default-features time cargo check --no-default-features
cargo check --manifest-path util/io/Cargo.toml --no-default-features time cargo check --manifest-path util/io/Cargo.toml --no-default-features
cargo check --manifest-path util/io/Cargo.toml --features "mio" time cargo check --manifest-path util/io/Cargo.toml --features "mio"
# Validate chainspecs # Validate chainspecs
echo "________Validate chainspecs________" echo "________Validate chainspecs________"
./scripts/validate_chainspecs.sh time ./scripts/validate_chainspecs.sh
fi fi
@ -57,4 +57,4 @@ cd parity-clib-examples/cpp && \
# Running tests # Running tests
echo "________Running Parity Full Test Suite________" echo "________Running Parity Full Test Suite________"
git submodule update --init --recursive git submodule update --init --recursive
cargo test -j 8 $OPTIONS --features "$FEATURES" --all $1 time cargo test $OPTIONS --features "$FEATURES" --all $1 -- --test-threads 8