blob: 0cf0da02e604784fca662c5890292f8f44dcc0d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
set -euxo pipefail
main() {
case $TARGET in
thumbv7em-none-eabi*)
cargo check --target $TARGET --features cm7-r0p1
cargo check --target $TARGET
;;
thumbv*-none-eabi*)
cargo check --target $TARGET
;;
*)
cargo test --target $TARGET
;;
esac
}
# NOTE See the NOTE in `install.sh`
if [ $TRAVIS_BRANCH != master ] || [ $TRAVIS_EVENT_TYPE = cron ]; then
main
fi
|