From 91977b79b89c4d69f665808e2b9477ed8a4d4ffe Mon Sep 17 00:00:00 2001 From: Jan Hoffmann Date: Thu, 4 Jul 2019 17:30:56 +0200 Subject: [PATCH] added travis --- .travis.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..95bbde8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,29 @@ +language: c +sudo: false + +cache: + directories: + - ~/arduino_ide + - ~/.arduino15/packages/ + +git: + depth: false + quiet: true + +env: + global: + - ARDUINO_IDE_VERSION="1.8.7" + - PRETTYNAME="DHT sensor library" + +before_install: + - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh) + +install: + - arduino --install-library "Adafruit Unified Sensor" + +script: + - build_main_platforms + +after_success: + - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/library_check.sh) + - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/doxy_gen_and_deploy.sh)