This repository was archived by the owner on Mar 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 stage : build
2525 script : bash $TRAVIS_BUILD_DIR/travis/build.sh esp8266
2626
27+ - name : " Build Platformio ESP32"
28+ if : tag IS blank AND (type = pull_request OR (type = push AND branch = master))
29+ stage : build
30+ script : bash $TRAVIS_BUILD_DIR/travis/build-pio.sh esp32dev
31+
32+ - name : " Build Platformio ESP8266"
33+ if : tag IS blank AND (type = pull_request OR (type = push AND branch = master))
34+ stage : build
35+ script : bash $TRAVIS_BUILD_DIR/travis/build-pio.sh esp12e
36+
2737notifications :
2838 email :
2939 on_success : change
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ BOARD=$1
4+
5+ echo -e " travis_fold:start:install_pio"
6+ pip install -U platformio
7+
8+ platformio lib install https://github.com/bblanchon/ArduinoJson.git
9+
10+ case $BOARD in
11+ esp32dev)
12+ platformio lib -g install https://github.com/me-no-dev/AsyncTCP.git
13+ ;;
14+ esp12e)
15+ platformio lib -g install https://github.com/me-no-dev/ESPAsyncTCP.git || true
16+ ;;
17+ esac
18+ echo -e " travis_fold:end:install_pio"
19+
20+ echo -e " travis_fold:start:test_pio"
21+ for EXAMPLE in $PWD /examples/* /* .ino; do
22+ platformio ci $EXAMPLE -l ' .' -b $BOARD
23+ done
24+ echo -e " travis_fold:end:test_pio"
You can’t perform that action at this time.
0 commit comments