Merge pull request #1 from adafruit/travis

Add Travis CI
This commit is contained in:
Todd Treece 2015-07-15 17:03:44 -04:00
commit 6636f4579b
2 changed files with 18 additions and 3 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
language: c
before_install:
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
install:
- arduino --install-library "Adafruit SleepyDog Library,Adafruit FONA Library,Adafruit CC3000 Library"
script:
- arduino --board arduino:avr:uno --save-prefs
- 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:
email:
on_success: change
on_failure: change

View File

@ -1,4 +1,4 @@
# Adafruit MQTT Library # Adafruit MQTT Library [![Build Status](https://travis-ci.org/adafruit/Adafruit_MQTT_Library.svg?branch=master)](https://travis-ci.org/adafruit/Adafruit_MQTT_Library)
Arduino library for MQTT support, including access to Adafruit IO. Works with Arduino library for MQTT support, including access to Adafruit IO. Works with
the Adafruit CC3000, FONA, ESP8266 Arduino platforms, and anything that supports the Adafruit CC3000, FONA, ESP8266 Arduino platforms, and anything that supports
@ -9,8 +9,8 @@ publish and subscribe to feeds. Note that this does not support the full MQTT
spec but is intended to support enough for QoS 0 and 1 publishing. spec but is intended to support enough for QoS 0 and 1 publishing.
Depends on the following other libraries depending on the target platform: Depends on the following other libraries depending on the target platform:
- [Adafruit SleepyDog](https://github.com/adafruit/Adafruit_SleepyDog), watchdog - [Adafruit SleepyDog](https://github.com/adafruit/Adafruit_SleepyDog), watchdog
library used by FONA and CC3000 code for reliability. library used by FONA and CC3000 code for reliability.
- [Adafruit CC3000](https://github.com/adafruit/Adafruit_CC3000_Library), required - [Adafruit CC3000](https://github.com/adafruit/Adafruit_CC3000_Library), required