Skip to content

Commit 55ddaf6

Browse files
Improve travis build config
1 parent 5d4a841 commit 55ddaf6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@ rust:
33
- stable
44
- nightly
55
cache: cargo
6+
env:
7+
- MCU=stm32f042
8+
- MCU=stm32f040
9+
- MCU=stm32f040x6
10+
- MCU=stm32f040x8
11+
- MCU=stm32f040xc
612
matrix:
713
allow_failures:
814
- rust: nightly
915
fast_finish: true
1016
script:
1117
- rustup target add thumbv6m-none-eabi
12-
- cargo build --features=stm32f042
13-
- cargo build --features=stm32f030
14-
- cargo build --features=stm32f030x6
15-
- cargo build --features=stm32f030x8
16-
- cargo build --features=stm32f030xc
17-
- cargo build
18+
- cargo build --features=$MCU

0 commit comments

Comments
 (0)