Skip to content

Commit 17b37e7

Browse files
author
Fabiano Riccardi
committed
Added travis
Signed-off-by: Fabiano Riccardi <fabiuz4@hotmail.it>
1 parent c005887 commit 17b37e7

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: c
2+
before_install:
3+
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
4+
- sleep 3
5+
- export DISPLAY=:1.0
6+
- wget http://downloads.arduino.cc/arduino-1.8.7-linux64.tar.xz
7+
- tar xf arduino-1.8.7-linux64.tar.xz
8+
- sudo mv arduino-1.8.7 /usr/local/share/arduino
9+
- sudo ln -s /usr/local/share/arduino/arduino /usr/local/bin/arduino
10+
install:
11+
- ln -s $PWD /usr/local/share/arduino/libraries/WEMOS_SHT3x_Arduino_Library
12+
- arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/stable/package_esp8266com_index.json" --save-prefs
13+
- arduino --install-library "Adafruit GFX Library"
14+
- arduino --install-library "Adafruit SSD1306"
15+
- arduino --install-boards esp8266:esp8266
16+
- arduino --board esp8266:esp8266:generic --save-prefs
17+
- arduino --pref "compiler.warning_level=all" --save-prefs
18+
script:
19+
- "echo $PWD"
20+
- "echo $HOME"
21+
- "ls $PWD"
22+
- arduino --verify --board arduino:avr:uno $PWD/examples/SHT30_Shield/SHT30_Shield.ino
23+
notifications:
24+
email:
25+
on_success: change
26+
on_failure: change

0 commit comments

Comments
 (0)