Skip to content

Commit a8bddc0

Browse files
committed
Fix CI for thumbv6m-none-eabi
1 parent 628a952 commit a8bddc0

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.travis.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,14 @@ matrix:
5050
- cargo --list | egrep "^\s*web$" -q || cargo install cargo-web
5151
script:
5252
- cargo web test --target wasm32-unknown-unknown --nodejs --features=stdweb
53-
53+
54+
- rust: nightly
55+
install:
56+
- rustup target add thumbv6m-none-eabi
57+
script:
58+
# Bare metal target; no std; only works on nightly
59+
- cargo build --all --no-default-features --target thumbv6m-none-eabi --release
60+
5461
# Trust cross-built/emulated targets. We must repeat all non-default values.
5562
- rust: stable
5663
sudo: required
@@ -73,12 +80,6 @@ matrix:
7380
dist: trusty
7481
services: docker
7582
env: TARGET=armv7-apple-ios DISABLE_TESTS=1
76-
- rust: nightly
77-
sudo: required
78-
dist: trusty
79-
services: docker
80-
# Bare metal target; no std; only works on nightly
81-
env: TARGET=thumbv6m-none-eabi DISABLE_TESTS=1 DISABLE_STD=1
8283

8384
before_install:
8485
- set -e

0 commit comments

Comments
 (0)