Skip to content

Commit

Permalink
Use env for Arduino version
Browse files Browse the repository at this point in the history
  • Loading branch information
FokkeZB committed Dec 1, 2016
1 parent 238f386 commit e170296
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
language: c
env:
- ARDUINO_VERSION=1.6.13
before_install:
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
- sleep 3
- export DISPLAY=:1.0
- wget http://downloads.arduino.cc/arduino-1.6.13-linux64.tar.xz
- tar xf arduino-1.6.13-linux64.tar.xz
- sudo mv arduino-1.6.13 /usr/local/share/arduino
- wget http://downloads.arduino.cc/arduino-$ARDUINO_VERSION-linux64.tar.xz
- tar xf arduino-$ARDUINO_VERSION-linux64.tar.xz
- sudo mv arduino-$ARDUINO_VERSION /usr/local/share/arduino
- sudo ln -s /usr/local/share/arduino/arduino /usr/local/bin/arduino
install:
- ln -s $PWD /usr/local/share/arduino/libraries/TheThingsNetwork
Expand Down

0 comments on commit e170296

Please sign in to comment.