File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1313matrix :
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
Original file line number Diff line number Diff line change @@ -7,6 +7,13 @@ test_gen() {
77}
88
99main () {
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
You can’t perform that action at this time.
0 commit comments