From 9888f90d70d6659819a13711cfc6a5d17cd38989 Mon Sep 17 00:00:00 2001 From: Erik Hedvall Date: Sun, 11 Aug 2019 17:29:39 +0200 Subject: [PATCH] Also test no_std with a target without std support --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8e9d5c90f..67d4c3bb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,11 @@ script: cargo build -v; fi + - if [ "$TRAVIS_RUST_VERSION" = "nightly" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then + rustup target add thumbv6m-none-eabi; + cargo build -v --target thumbv6m-none-eabi; + fi; + - cd .. - cargo doc --all --exclude no_std_test after_success: