Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Update gitlab-test.sh (#7883)
Browse files Browse the repository at this point in the history
* Update gitlab-test.sh

#7871

* Update aura-test.sh
  • Loading branch information
General-Beck authored and 5chdn committed Feb 14, 2018
1 parent 6ef5635 commit d49233f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions scripts/aura-test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash
set -e # fail on any error
set -u # treat unset variables as error

cargo build -j $(nproc) --release --features final $CARGOFLAGS
git clone https://github.com/paritytech/parity-import-tests
cp target/release/parity parity-import-tests/aura/parity
Expand Down
4 changes: 2 additions & 2 deletions scripts/gitlab-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ rust_test () {
rustup show
if [[ "${RUST_FILES_MODIFIED}" == "0" ]];
then echo "Skipping Rust tests since no Rust files modified.";
else ./test.sh;
else ./test.sh || exit $?;
fi
if [[ "$CI_COMMIT_REF_NAME" == "nightly" ]];
then sh scripts/aura-test.sh;
then sh scripts/aura-test.sh || exit $?;
fi
}
js_test () {
Expand Down

0 comments on commit d49233f

Please sign in to comment.