Skip to content

Commit 061de6d

Browse files
committed
Fix build
1 parent 81bd48e commit 061de6d

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

.travis.yml

+10-12
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,19 @@ cache:
99
- "~/.platformio"
1010

1111
env:
12-
- PLATFORMIO_CI_SRC=examples/BlynkClient PLATFORMIO_CI_ARGS="--board=leonardo"
13-
- PLATFORMIO_CI_SRC=examples/FileDownload PLATFORMIO_CI_ARGS="--board=leonardo"
14-
- PLATFORMIO_CI_SRC=examples/MqttClient PLATFORMIO_CI_ARGS="--board=leonardo"
15-
- PLATFORMIO_CI_SRC=examples/WebClient PLATFORMIO_CI_ARGS="--board=leonardo"
16-
- PLATFORMIO_CI_SRC=tools/SimpleTest PLATFORMIO_CI_ARGS="--board=leonardo"
17-
- PLATFORMIO_CI_SRC=tools/FactoryReset PLATFORMIO_CI_ARGS="--board=leonardo"
18-
- PLATFORMIO_CI_SRC=tools/AT_Debug PLATFORMIO_CI_ARGS="--board=leonardo"
12+
- PLATFORMIO_CI_SRC=examples/BlynkClient
13+
- PLATFORMIO_CI_SRC=examples/FileDownload
14+
- PLATFORMIO_CI_SRC=examples/MqttClient
15+
- PLATFORMIO_CI_SRC=examples/WebClient
16+
- PLATFORMIO_CI_SRC=tools/SimpleTest
17+
- PLATFORMIO_CI_SRC=tools/FactoryReset
18+
- PLATFORMIO_CI_SRC=tools/AT_Debug
1919

2020
# Arduino test
21-
- PLATFORMIO_CI_SRC=extras/test_build PLATFORMIO_CI_ARGS="--board=uno --board=leonardo --board=yun --board=megaatmega2560 --board=genuino101 --board=mkr1000USB --board=zero --board=teensy31 --board=uno_pic32 --board=esp01 --board=nodemcuv2 --board=esp32dev"
22-
- PLATFORMIO_CI_SRC=extras/test_build PLATFORMIO_CI_ARGS='--board=bluepill_f103c8 --project-option="framework=arduino"'
21+
- PLATFORMIO_CI_SRC=extras/test_build PLATFORMIO_CI_ARGS="--project-option='framework=arduino' --board=uno --board=leonardo --board=yun --board=megaatmega2560 --board=genuino101 --board=mkr1000USB --board=zero --board=teensy31 --board=bluepill_f103c8 --board=uno_pic32 --board=esp01 --board=nodemcuv2 --board=esp32dev"
2322

2423
# Energia test
25-
- PLATFORMIO_CI_SRC=extras/test_build PLATFORMIO_CI_ARGS='--board=lplm4f120h5qr --project-option="framework=energia"'
24+
- PLATFORMIO_CI_SRC=extras/test_build PLATFORMIO_CI_ARGS="--project-option='framework=energia' --board=lplm4f120h5qr"
2625

2726
install:
2827
# ChipKIT issue: install 32-bit support for GCC PIC32
@@ -40,5 +39,4 @@ install:
4039

4140
- platformio lib -g install 89 415 1202 1286
4241

43-
script:
44-
- platformio ci --lib="." $PLATFORMIO_CI_ARGS
42+
script: make travis-build

Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.PHONY: travis-build
2+
3+
travis-build:
4+
ifdef PLATFORMIO_CI_ARGS
5+
platformio ci --lib="." $(PLATFORMIO_CI_ARGS)
6+
else
7+
platformio ci --lib="." --board=leonardo
8+
endif
9+

0 commit comments

Comments
 (0)