simplify travis config with new helper functions

This commit is contained in:
Todd Treece 2015-07-27 14:04:58 -04:00
parent 6636f4579b
commit ee6094cccd
6 changed files with 2 additions and 5 deletions

View File

@ -1,14 +1,11 @@
language: c language: c
sudo: false
before_install: before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh) - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
install: install:
- arduino --install-library "Adafruit SleepyDog Library,Adafruit FONA Library,Adafruit CC3000 Library" - arduino --install-library "Adafruit SleepyDog Library,Adafruit FONA Library,Adafruit CC3000 Library"
script: script:
- arduino --board arduino:avr:uno --save-prefs - build_main_platforms
- arduino --verify $PWD/examples/mqtt_cc3k/mqtt_cc3k.ino
- arduino --verify $PWD/examples/mqtt_fona/mqtt_fona.ino
- arduino --board esp8266:esp8266:generic --save-prefs
- arduino --verify $PWD/examples/mqtt_esp8266/mqtt_esp8266.ino
notifications: notifications:
email: email:
on_success: change on_success: change

View File

View File

View File

View File