Skip to content

Commit d7b0f03

Browse files
author
Jorge Aparicio
committed
don't test on i686-gnu
1 parent eedec59 commit d7b0f03

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
matrix:
1414
include:
1515
# Linux
16-
- env: TARGET=i686-unknown-linux-gnu
16+
- env: TARGET=i686-unknown-linux-gnu DISABLE_TESTS=1
1717
- env: TARGET=i686-unknown-linux-musl
1818
# - env: TARGET=x86_64-unknown-linux-gnu # this is the default job
1919
- env: TARGET=x86_64-unknown-linux-musl

ci/script.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ test_gen() {
77
}
88

99
main() {
10+
cross build --target $TARGET
11+
cross build --target $TARGET --release
12+
13+
if [ -n $DISABLE_TESTS ]; then
14+
return
15+
fi
16+
1017
case $TRAVIS_OS_NAME in
1118
linux)
1219
td=$(mktemp -d)
@@ -35,10 +42,6 @@ main() {
3542
https://raw.githubusercontent.com/posborne/cmsis-svd/python-0.4/data/NXP/LPC43xx_svd_v5.svd \
3643
> $td/LPC43xx_svd_v5.svd
3744

38-
# test the library
39-
cross build --target $TARGET
40-
cross build --target $TARGET --release
41-
4245
# test the generated code
4346
svd=STM32F30x.svd
4447
test_gen

0 commit comments

Comments
 (0)