mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
Update travis build script
This commit is contained in:
parent
a631269f3c
commit
61b0a3985a
28
.travis.yml
28
.travis.yml
@ -1,32 +1,28 @@
|
|||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
language: java
|
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- ant
|
|
||||||
|
|
||||||
jdk:
|
|
||||||
- oraclejdk8
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- pushd build
|
- wget http://downloads.arduino.cc/arduino-1.6.5-linux64.tar.xz
|
||||||
- echo "" | ant build
|
- tar xf arduino-1.6.5-linux64.tar.xz
|
||||||
- popd
|
- mv arduino-1.6.5 $HOME/arduino_ide
|
||||||
|
- cd $HOME/arduino_ide/hardware
|
||||||
|
- mkdir esp8266com
|
||||||
|
- ln -s $TRAVIS_BUILD_DIR esp8266
|
||||||
|
- cd esp8266/tools
|
||||||
|
- python get.py
|
||||||
- /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
|
- sleep 3
|
||||||
- export DISPLAY=:1.0
|
- export DISPLAY=:1.0
|
||||||
- export PATH="$PWD/build/linux/work:$PATH"
|
- export PATH="$HOME/arduino_ide:$PATH"
|
||||||
- which arduino
|
- which arduino
|
||||||
- source hardware/esp8266com/esp8266/tests/common.sh
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
- source tests/common.sh
|
||||||
- arduino --board esp8266com:esp8266:generic --save-prefs
|
- arduino --board esp8266com:esp8266:generic --save-prefs
|
||||||
- arduino --get-pref sketchbook.path
|
- arduino --get-pref sketchbook.path
|
||||||
- install_libraries
|
- install_libraries
|
||||||
- build_sketches arduino $PWD/hardware/esp8266com/esp8266
|
- build_sketches arduino $TRAVIS_BUILD_DIR
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user