Skip to content

Travis: Test all io-* features in build matrix #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ rust:
- stable
- nightly
env:
- MCU=stm32l0x1
- MCU=stm32l0x2 FEATURES=stm32-usbd
- MCU=stm32l0x3 FEATURES=stm32-usbd
- MCU=stm32l0x1 IO=io-STM32L021
- MCU=stm32l0x1 IO=io-STM32L031
- MCU=stm32l0x2 IO=io-STM32L051 FEATURES=stm32-usbd
- MCU=stm32l0x3 IO=io-STM32L071 FEATURES=stm32-usbd
matrix:
allow_failures:
- rust: nightly
Expand All @@ -31,7 +32,7 @@ matrix:
# - env: MCU=stm32l062 PACKAGE=ufqfpn32
# - env: MCU=stm32l062 PACKAGE=wlcsp36
# STM32L072
- env: MCU=stm32l072 PACKAGE=lqfp32
- env: MCU=stm32l072 IO=io-STM32L071 PACKAGE=lqfp32
# - env: MCU=stm32l072 PACKAGE=lqfp48
# - env: MCU=stm32l072 PACKAGE=lqfp64
# - env: MCU=stm32l072 PACKAGE=lqfp100
Expand All @@ -41,10 +42,10 @@ matrix:
# - env: MCU=stm32l072 PACKAGE=ufqfpn32
# - env: MCU=stm32l072 PACKAGE=wlcsp49
# STM32L082
- env: MCU=stm32l082 PACKAGE=lqfp32
- env: MCU=stm32l082 IO=io-STM32L071 PACKAGE=lqfp32
# - env: MCU=stm32l082 PACKAGE=ufqfpn32
# - env: MCU=stm32l082 PACKAGE=wlcsp49
before_script:
- rustup target add thumbv6m-none-eabi
script:
- RUSTFLAGS="-D warnings" cargo build --release --examples --features="rt $MCU $PACKAGE $FEATURES"
- RUSTFLAGS="-D warnings" cargo build --release --examples --features="rt $MCU $IO $PACKAGE $FEATURES"