Skip to content

Commit

Permalink
Add testing for no_std support in Travis builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
isislovecruft committed May 29, 2019
1 parent ade5a76 commit 99d8051
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: rust
cache: cargo


matrix:
include:
- rust: stable
Expand All @@ -13,6 +12,14 @@ matrix:
script:
- cargo test
- cargo fmt --all -- --check
# Test if crate can be truly built without std
- rust: nightly
env: TARGET=thumbv7em-none-eabi
script: xargo build --no-default-features --target $TARGET
install:
- cargo install xargo || true
- rustup target install armv7-unknown-linux-gnueabihf
- rustup component add rust-src

notifications:
slack:
Expand Down

0 comments on commit 99d8051

Please sign in to comment.