blob: 0d42ff3a45e13f0f1340ff57e4a205b9a44a1fc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
set -euxo pipefail
main() {
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
cargo build
cargo test --test cfail
return
fi
case $TARGET in
thumbv7em-none-eabi*)
cargo check --target $TARGET --features cm7-r0p1
cargo check --target $TARGET --features cm7-r0p1 --examples
;;
esac
cargo check --target $TARGET
cargo check --target $TARGET --examples
}
if [ $TRAVIS_BRANCH != master ]; then
main
fi
|