From 9abfb1c48ee356177183f29713cdcb63146bc0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Tue, 19 Mar 2019 23:35:06 +0100 Subject: [PATCH] Test SGX on nigtly travis build --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index d8fa9cec..8523dc75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,9 @@ before_script: - | pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH +- if [ "${TRAVIS_RUST_VERSION}" = "nightly" ]; then + rustup target add x86_64-fortanix-unknown-sgx; + fi script: - cd core; @@ -22,6 +25,7 @@ script: - travis-cargo test - travis-cargo --only stable test -- --features=deadlock_detection - travis-cargo --only beta test -- --features=deadlock_detection +- travis-cargo --only nightly test -- --all --no-run --target x86_64-fortanix-unknown-sgx - travis-cargo --only nightly doc -- --all-features --no-deps -p parking_lot -p parking_lot_core -p lock_api - cd benchmark - travis-cargo build