File tree Expand file tree Collapse file tree 1 file changed +12
-16
lines changed Expand file tree Collapse file tree 1 file changed +12
-16
lines changed Original file line number Diff line number Diff line change 1
1
sudo : false
2
2
3
- language : java
4
-
5
3
os :
6
4
- linux
7
5
8
- addons :
9
- apt :
10
- packages :
11
- - ant
12
-
13
- jdk :
14
- - oraclejdk8
15
-
16
6
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
20
15
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
21
16
- sleep 3
22
17
- export DISPLAY=:1.0
23
- - export PATH="$PWD/build/linux/work :$PATH"
18
+ - export PATH="$HOME/arduino_ide :$PATH"
24
19
- which arduino
25
- - source hardware/esp8266com/esp8266/tests/common.sh
20
+ - cd $TRAVIS_BUILD_DIR
21
+ - source tests/common.sh
26
22
- arduino --board esp8266com:esp8266:generic --save-prefs
27
23
- arduino --get-pref sketchbook.path
28
24
- install_libraries
29
- - build_sketches arduino $PWD/hardware/esp8266com/esp8266
25
+ - build_sketches arduino $TRAVIS_BUILD_DIR
30
26
31
27
notifications :
32
28
email :
You can’t perform that action at this time.
0 commit comments