Skip to content

Commit 61b0a39

Browse files
committed
Update travis build script
1 parent a631269 commit 61b0a39

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

.travis.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,28 @@
11
sudo: false
22

3-
language: java
4-
53
os:
64
- linux
75

8-
addons:
9-
apt:
10-
packages:
11-
- ant
12-
13-
jdk:
14-
- oraclejdk8
15-
166
script:
17-
- pushd build
18-
- echo "" | ant build
19-
- popd
7+
- wget http://downloads.arduino.cc/arduino-1.6.5-linux64.tar.xz
8+
- tar xf arduino-1.6.5-linux64.tar.xz
9+
- mv arduino-1.6.5 $HOME/arduino_ide
10+
- cd $HOME/arduino_ide/hardware
11+
- mkdir esp8266com
12+
- ln -s $TRAVIS_BUILD_DIR esp8266
13+
- cd esp8266/tools
14+
- python get.py
2015
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
2116
- sleep 3
2217
- export DISPLAY=:1.0
23-
- export PATH="$PWD/build/linux/work:$PATH"
18+
- export PATH="$HOME/arduino_ide:$PATH"
2419
- which arduino
25-
- source hardware/esp8266com/esp8266/tests/common.sh
20+
- cd $TRAVIS_BUILD_DIR
21+
- source tests/common.sh
2622
- arduino --board esp8266com:esp8266:generic --save-prefs
2723
- arduino --get-pref sketchbook.path
2824
- install_libraries
29-
- build_sketches arduino $PWD/hardware/esp8266com/esp8266
25+
- build_sketches arduino $TRAVIS_BUILD_DIR
3026

3127
notifications:
3228
email:

0 commit comments

Comments
 (0)