mirror of
https://github.com/Links2004/arduinoWebSockets.git
synced 2025-07-30 15:47:13 +02:00
fix Travis
This commit is contained in:
@ -1,4 +1,10 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
|
dist:
|
||||||
|
- xenial
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- xvfb
|
||||||
language: bash
|
language: bash
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
@ -14,8 +20,8 @@ env:
|
|||||||
|
|
||||||
script:
|
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
|
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
|
||||||
- sleep 3
|
|
||||||
- export DISPLAY=:1.0
|
- export DISPLAY=:1.0
|
||||||
|
- sleep 3
|
||||||
- wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
|
- wget http://downloads.arduino.cc/arduino-$IDE_VERSION-linux64.tar.xz
|
||||||
- tar xf arduino-$IDE_VERSION-linux64.tar.xz
|
- tar xf arduino-$IDE_VERSION-linux64.tar.xz
|
||||||
- mv arduino-$IDE_VERSION $HOME/arduino_ide
|
- mv arduino-$IDE_VERSION $HOME/arduino_ide
|
||||||
@ -28,6 +34,7 @@ script:
|
|||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
- arduino --board $BOARD --save-prefs
|
- arduino --board $BOARD --save-prefs
|
||||||
- arduino --get-pref sketchbook.path
|
- arduino --get-pref sketchbook.path
|
||||||
|
- arduino --pref update.check=false
|
||||||
- build_sketches arduino $HOME/Arduino/libraries/arduinoWebSockets/examples/$CPU $CPU
|
- build_sketches arduino $HOME/Arduino/libraries/arduinoWebSockets/examples/$CPU $CPU
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
Reference in New Issue
Block a user