-
Notifications
You must be signed in to change notification settings - Fork 93
/
Copy path.travis.yml
23 lines (23 loc) · 1.1 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: c
sudo: false
notifications: false
before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
install:
- mkdir -p $HOME/arduino_ide/libraries/
- cd $HOME/arduino_ide/libraries/
- git clone -o cf7b4a6 https://github.com/Makuna/NeoPixelBus
- git clone -o b05d455 https://github.com/PaulStoffregen/Time
- git clone -o 3c22f2f https://github.com/gmag11/NtpClient
- git clone -o b592ac6 https://github.com/me-no-dev/ESPAsyncUDP
- git clone -o ec56354 https://github.com/interactive-matter/aJson
- sed -i -e 's|#define PRINT_BUFFER_LEN 256|#define PRINT_BUFFER_LEN 4096|g' aJson/aJSON.h
- cd aJson
- curl -OSLs https://gitlab.com/xarduino/lightsw/raw/2424e3a9348e7144373311af132ced38f14489ba/patch/ajson-void-flush.patch
- git apply ajson-void-flush.patch
- rm ajson-void-flush.patch
- cd $TRAVIS_BUILD_DIR
script:
- sed -i -e 's|#include "/secrets.h"|//#include "/secrets.h"|g' ESP8266HueEmulator/ESP8266HueEmulator.ino
- sed -i -e 's|//const char|const char|g' ESP8266HueEmulator/ESP8266HueEmulator.ino
- build_platform esp8266