File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ rust:
21
21
- beta
22
22
- nightly
23
23
- nightly-2019-07-01
24
- - nightly-2019-07-11
24
+ - nightly-2019-10-28
25
25
env :
26
26
global :
27
27
- RUST_BACKTRACE=1
28
28
# Pinned to this particular nightly version because of core_io. This can be
29
29
# re-pinned whenever core_io is updated to the latest nightly.
30
30
- CORE_IO_NIGHTLY=nightly-2019-07-01
31
- - SGX_NIGHTLY=nightly-2019-07-11
31
+ - SGX_NIGHTLY=nightly-2019-10-28
32
32
- LLVM_CONFIG_PATH=llvm-config-3.8
33
33
script :
34
34
- ./ct.sh
Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ cd "$(dirname "$0")"
4
4
5
5
cd " ./mbedtls"
6
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
+
7
12
if [ $TRAVIS_RUST_VERSION = " stable" ] || [ $TRAVIS_RUST_VERSION = " beta" ] || [ $TRAVIS_RUST_VERSION = " nightly" ]; then
8
13
rustup default $TRAVIS_RUST_VERSION
9
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
+ exit 1
25
33
fi
You can’t perform that action at this time.
0 commit comments