From 27e694a61c8a7877731e6bba96bf0ec109ef7e59 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Thu, 1 Jul 2021 23:24:52 -0700 Subject: [PATCH] Update test.bash to check stable compilation --- test.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test.bash b/test.bash index 9a20766..6543374 100755 --- a/test.bash +++ b/test.bash @@ -1,2 +1,5 @@ #!/bin/bash -RGAPI_KEY="$(cat apikey.txt)" RUST_BACKTRACE=1 RUST_LOG=riven=debug cargo test --features nightly -- --nocapture +set -e + +cargo +stable test -- --nocapture +RGAPI_KEY="$(cat apikey.txt)" RUST_BACKTRACE=1 RUST_LOG=riven=debug cargo +nightly test --features nightly -- --nocapture