We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e998d commit 2df1303Copy full SHA for 2df1303
ct.sh
@@ -4,6 +4,11 @@ cd "$(dirname "$0")"
4
5
cd "./mbedtls"
6
7
+if [ -z $TRAVIS_RUST_VERSION ]; then
8
+ echo "Expected TRAVIS_RUST_VERSION to be set in env"
9
+ exit 1
10
+fi
11
+
12
if [ $TRAVIS_RUST_VERSION = "stable" ] || [ $TRAVIS_RUST_VERSION = "beta" ] || [ $TRAVIS_RUST_VERSION = "nightly" ]; then
13
rustup default $TRAVIS_RUST_VERSION
14
cargo test
@@ -22,4 +27,7 @@ elif [ $TRAVIS_RUST_VERSION = $SGX_NIGHTLY ]; then
22
27
rustup target add --toolchain $SGX_NIGHTLY x86_64-fortanix-unknown-sgx
23
28
cargo +$SGX_NIGHTLY test --no-run --target=x86_64-fortanix-unknown-sgx --features=sgx --no-default-features
24
29
30
+else
31
+ echo "Unknown version $TRAVIS_RUST_VERSION"
32
25
33
fi
0 commit comments