diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..169c878 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index 1807c8c..8cdbdbe 100644 --- a/README.md +++ b/README.md @@ -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 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. 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. - [Adafruit CC3000](https://github.com/adafruit/Adafruit_CC3000_Library), required