File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
2
+
3
+ language : bash
4
+
5
+ os :
6
+ - linux
7
+
8
+ before_install :
9
+ - " /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
10
+
11
+ before_script :
12
+ - " export DISPLAY=:99.0"
13
+ - sleep 3 # give xvfb some time to start
14
+ - wget http://downloads.arduino.cc/arduino-1.6.5-linux64.tar.xz
15
+ - tar xf arduino-1.6.5-linux64.tar.xz
16
+ - mv arduino-1.6.5 $HOME/arduino_ide
17
+ - cd $HOME/arduino_ide/hardware
18
+ - mkdir esp8266com
19
+ - cd esp8266com
20
+ - git clone https://github.com/esp8266/Arduino.git esp8266
21
+ - cd esp8266/tools
22
+ - python get.py
23
+
24
+ script :
25
+ - cd $TRAVIS_BUILD_DIR
26
+ - export PATH="$HOME/arduino_ide:$PATH"
27
+ - arduino --board esp8266com:esp8266:generic --save-prefs
28
+ - arduino --get-pref sketchbook.path
29
+ - build_sketch esp8266/esp8266.ino
30
+
31
+ notifications :
32
+ email :
33
+ on_success : change
34
+ on_failure : change
You can’t perform that action at this time.
0 commit comments