File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
- language : bash
2
+ language : python
3
3
os :
4
4
- linux
5
5
@@ -12,11 +12,16 @@ stages:
12
12
jobs :
13
13
include :
14
14
15
- - name : " Build Examples "
15
+ - name : " Arduino Build "
16
16
if : tag IS blank AND (type = pull_request OR (type = push AND branch = master))
17
17
stage : build
18
18
script : bash $TRAVIS_BUILD_DIR/travis/build.sh
19
19
20
+ - name : " PlatformIO Build"
21
+ if : tag IS blank AND (type = pull_request OR (type = push AND branch = master))
22
+ stage : build
23
+ script : bash $TRAVIS_BUILD_DIR/travis/build-pio.sh
24
+
20
25
notifications :
21
26
email :
22
27
on_success : change
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ echo -e " travis_fold:start:install_pio"
4
+ pip install -U platformio
5
+ echo -e " travis_fold:end:install_pio"
6
+
7
+ echo -e " travis_fold:start:test_pio"
8
+ for EXAMPLE in $PWD /examples/* /* .ino; do
9
+ platformio ci $EXAMPLE -l ' .' -b esp12e
10
+ done
11
+ echo -e " travis_fold:end:test_pio"
You can’t perform that action at this time.
0 commit comments