Files
arduinoWebSockets/.travis.yml

46 lines
1.7 KiB
YAML
Raw Normal View History

2017-07-20 18:18:35 +02:00
sudo: false
2019-05-30 14:24:57 +02:00
dist:
- xenial
2019-05-30 14:24:57 +02:00
addons:
apt:
packages:
- xvfb
2017-07-20 18:18:35 +02:00
language: bash
os:
- linux
2018-02-06 20:41:36 +01:00
env:
matrix:
2020-10-04 16:20:27 +02:00
- CPU="esp8266" BOARD="esp8266com:esp8266:generic:xtal=80" IDE_VERSION=1.6.13
- CPU="esp8266" BOARD="esp8266com:esp8266:generic:xtal=80,dbg=Serial1" IDE_VERSION=1.6.13
- CPU="esp8266" BOARD="esp8266com:esp8266:generic:xtal=80,eesz=1M,FlashMode=qio,FlashFreq=80" IDE_VERSION=1.8.13
- CPU="esp32" BOARD="espressif:esp32:esp32:FlashFreq=80" IDE_VERSION=1.8.5
2019-05-30 14:33:44 +02:00
- CPU="esp32" BOARD="espressif:esp32:esp32:FlashFreq=80" IDE_VERSION=1.8.9
- CPU="esp32" BOARD="espressif:esp32:esp32:FlashFreq=80" IDE_VERSION=1.8.13
2017-07-20 18:18:35 +02:00
script:
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
- export DISPLAY=:1.0
2019-05-30 14:24:57 +02:00
- sleep 3
2018-02-06 20:41:36 +01:00
- wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
- tar xf arduino-$IDE_VERSION-linux64.tar.xz
- mv arduino-$IDE_VERSION $HOME/arduino_ide
2017-07-20 18:18:35 +02:00
- export PATH="$HOME/arduino_ide:$PATH"
- which arduino
- mkdir -p $HOME/Arduino/libraries
- wget https://github.com/bblanchon/ArduinoJson/archive/6.x.zip
- unzip 6.x.zip
- mv ArduinoJson-6.x $HOME/Arduino/libraries/ArduinoJson
2017-07-20 18:18:35 +02:00
- cp -r $TRAVIS_BUILD_DIR $HOME/Arduino/libraries/arduinoWebSockets
- source $TRAVIS_BUILD_DIR/travis/common.sh
2018-02-06 20:41:36 +01:00
- get_core $CPU
- cd $TRAVIS_BUILD_DIR
- arduino --board $BOARD --save-prefs
2018-02-06 20:22:29 +01:00
- arduino --get-pref sketchbook.path
2019-05-30 14:24:57 +02:00
- arduino --pref update.check=false
- build_sketches arduino $HOME/Arduino/libraries/arduinoWebSockets/examples/$CPU $CPU
2017-07-20 18:18:35 +02:00
notifications:
email:
on_success: change
on_failure: change