Skip to content

Commit c83eb1a

Browse files
authored
Merge pull request #385 from pitdicker/thumb_target
Fix CI for thumbv6m-none-eabi
2 parents 628a952 + cc282d9 commit c83eb1a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.travis.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ matrix:
2626
- cargo test --tests --no-default-features --features=serde1
2727
- rust: nightly
2828
install:
29+
- cargo --list | egrep "^\s*deadlinks$" -q || cargo install cargo-deadlinks
2930
before_script:
3031
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
3132
script:
@@ -34,7 +35,6 @@ matrix:
3435
- cargo test --features serde1,log,nightly
3536
- cargo test --benches
3637
- cargo doc --no-deps --all --all-features
37-
- cargo --list | egrep "^\s*deadlinks$" -q || cargo install cargo-deadlinks
3838
- cargo deadlinks --dir target/doc
3939
after_success:
4040
- travis-cargo --only nightly doc-upload
@@ -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)