8000 setup travis · ROMSDEV/arduinoWebSockets@87c6c80 · GitHub
[go: up one dir, main page]

Skip to content

Commit 87c6c80

Browse files
authored
setup travis
1 parent adb255b commit 87c6c80

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.travis.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
sudo: false
2+
language: bash
3+
os:
4+
- linux
5+
6+
script:
7+
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16
8+
- sleep 3
9+
- export DISPLAY=:1.0
10+
- wget http://downloads.arduino.cc/arduino-1.6.5-linux64.tar.xz
11+
- tar xf arduino-1.6.5-linux64.tar.xz
12+
- mv arduino-1.6.5 $HOME/arduino_ide
13+
- export PATH="$HOME/arduino_ide:$PATH"
14+
- which arduino
15+
- mkdir -p $HOME/Arduino/libraries
16+
- cp -r $TRAVIS_BUILD_DIR $HOME/Arduino/libraries/arduinoWebSockets
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+
- source $TRAVIS_BUILD_DIR/travis/common.sh
24+
- arduino --board esp8266com:esp8266:generic --save-prefs
25+
- arduino --get-pref sketchbook.path
26+
- build_sketches arduino $HOME/Arduino/libraries/arduinoWebSockets esp8266
27+
28+
notifications:
29+
email:
30+
on_success: change
31+
on_failure: change
32+
webhooks:
33+
urls:
34+
- https://webhooks.gitter.im/e/1aa78fbe15080b0c2e37
35+
on_success: change # options: [always|never|change] default: always
36+
on_failure: always # options: [always|never|change] default: always
37+
on_start: false # default: false

0 commit comments

Comments
 (0)
0