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 13
13
matrix :
14
14
include :
15
15
# Linux
16
- - env : TARGET=i686-unknown-linux-gnu
16
+ - env : TARGET=i686-unknown-linux-gnu DISABLE_TESTS=1
17
17
- env : TARGET=i686-unknown-linux-musl
18
18
# - env: TARGET=x86_64-unknown-linux-gnu # this is the default job
19
19
- env : TARGET=x86_64-unknown-linux-musl
Original file line number Diff line number Diff line change @@ -7,6 +7,13 @@ test_gen() {
7
7
}
8
8
9
9
main () {
10
+ cross build --target $TARGET
11
+ cross build --target $TARGET --release
12
+
13
+ if [ -n $DISABLE_TESTS ]; then
14
+ return
15
+ fi
16
+
10
17
case $TRAVIS_OS_NAME in
11
18
linux)
12
19
td=$( mktemp -d)
@@ -35,10 +42,6 @@ main() {
35
42
https://raw.githubusercontent.com/posborne/cmsis-svd/python-0.4/data/NXP/LPC43xx_svd_v5.svd \
36
43
> $td /LPC43xx_svd_v5.svd
37
44
38
- # test the library
39
- cross build --target $TARGET
40
- cross build --target $TARGET --release
41
-
42
45
# test the generated code
43
46
svd=STM32F30x.svd
44
47
test_gen
You can’t perform that action at this time.
0 commit comments