Skip to content

Commit

Permalink
run tests on all nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Dec 15, 2018
1 parent 63d6629 commit b339557
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/script.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
set -euxo pipefail

beginswith() { case $2 in "$1"*) true;; *) false;; esac; }

main() {
cross build --target $TARGET
cross run --target $TARGET -- -V

if [ $TRAVIS_RUST_VERSION = nightly ]; then
if [ beginswith nightly $TRAVIS_RUST_VERSION ]; then
cargo test --features dev --target $TARGET
cargo test --target $TARGET
fi
Expand Down

0 comments on commit b339557

Please sign in to comment.