test new travis dependency install script

This commit is contained in:
Todd Treece 2015-07-15 13:17:02 -04:00
parent 65569159a9
commit c9e64fc321

View File

@ -1,17 +1,7 @@
language: c language: c
before_install: 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" - curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh | bash
- sleep 3
- export DISPLAY=:1.0
- wget http://downloads.arduino.cc/arduino-1.6.5-linux64.tar.xz
- tar xf arduino-1.6.5-linux64.tar.xz
- sudo mv arduino-1.6.5 /usr/local/share/arduino
- sudo ln -s /usr/local/share/arduino/arduino /usr/local/bin/arduino
install: install:
- ln -s $PWD /usr/local/share/arduino/libraries/Adafruit_MQTT
- arduino --pref "boardsmanager.additional.urls=http://arduino.esp8266.com/package_esp8266com_index.json" --save-prefs
- arduino --install-boards esp8266:esp8266 > /dev/null
- arduino --install-boards arduino:sam > /dev/null
- arduino --install-library "Adafruit SleepyDog Library,Adafruit FONA Library" - arduino --install-library "Adafruit SleepyDog Library,Adafruit FONA Library"
script: script:
- arduino --board arduino:avr:uno --save-prefs - arduino --board arduino:avr:uno --save-prefs