From 2388d6ad0061f8edb841a8dd6a7d4edd6bac3a1c Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Tue, 2 Apr 2019 16:52:50 +0100 Subject: [PATCH 1/2] Add Codespell checking --- .travis.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16379b3..1b92c33 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,17 @@ language: ruby -rvm: - - 2.2 + +matrix: + fast_finish: true + include: + - rvm: 2.2 + env: + - TASK='awesome_bot' + - env: + - TASK='codespell' + before_script: - - gem install awesome_bot + - if [ "$TASK" = "awesome_bot" ]; then gem install awesome_bot; fi + - if [ "$TASK" = "codespell" ]; then pip install --user git+https://github.com/codespell-project/codespell.git; fi script: - - awesome_bot README.md --allow-dupe --white-list creativecommons,awesome-mqtt.svg,wiki.videolan.org,homegear.eu + - if [ "$TASK" = "awesome_bot" ]; then awesome_bot README.md --allow-dupe --white-list creativecommons,awesome-mqtt.svg,wiki.videolan.org,homegear.eu; fi + - if [ "$TASK" = "codespell" ]; then codespell --check-filenames --check-hidden --quiet 2 --regex "[a-zA-Z0-9][\\-'a-zA-Z0-9]+[a-zA-Z0-9]" $(eval "find ./ -type f | xargs"); fi From ff618de00ea28873aeb797e6383856424b0c5228 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Tue, 2 Apr 2019 16:56:05 +0100 Subject: [PATCH 2/2] Fix the spelling errors --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 29d0cc6..9bc724d 100644 --- a/README.md +++ b/README.md @@ -291,7 +291,7 @@ MQTT is a lightweight client-server publish/subscribe messaging protocol, optimi #### Messaging * [mqtt-irc-bot](https://github.com/dobermai/mqtt-irc-bot) - A MQTT to IRC / IRC to MQTT bridge or bot. -* [mqttwarn](https://github.com/jpmens/mqttwarn) - Subscribe to MQTT topics (with wildcards) and notifiy pluggable services. +* [mqttwarn](https://github.com/jpmens/mqttwarn) - Subscribe to MQTT topics (with wildcards) and notify pluggable services. * [twitter-to-mqtt](https://github.com/knolleary/twitter-to-mqtt) - A python daemon that uses the Twitter Streaming API to access tweets and republishes them to an MQTT topic. @@ -323,7 +323,7 @@ MQTT is a lightweight client-server publish/subscribe messaging protocol, optimi ### Visualization, Dashboards * [Crouton](http://crouton.mybluemix.net/crouton/gettingStarted) - A dashboard that taps into your IOT network, using only MQTT and JSON. -* [d3-MQTT-Topic-Tree](https://github.com/hardillb/d3-MQTT-Topic-Tree) - A MQTT Topic Tree viewer using the d3 collapsable tree and MQTT over websockets. +* [d3-MQTT-Topic-Tree](https://github.com/hardillb/d3-MQTT-Topic-Tree) - A MQTT Topic Tree viewer using the d3 collapsible tree and MQTT over websockets. * [HelloIoT](https://github.com/adrianromero/helloiot) - HelloIoT is a MQTT client and dashboard application. * [HOMR-REACT](https://github.com/klauserber/homr-react) - A configurable MQTT Visualization. * [IoT OnOff](https://www.iot-onoff.com/) - Configurable iOS/Android app.