ESP32_ChinaDieselHeater_Con.../lib/esp32DHT/.travis.yml
2019-09-15 12:55:02 +10:00

25 lines
563 B
YAML

language: python
python:
- "2.7"
# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
cache:
directories:
- "~/.platformio"
env:
- PLATFORMIO_CI_SRC=examples/DHT22/DHT22.ino
- CPPLINT=true
install:
- pip install -U platformio
- pip install -U cpplint
script:
- if [[ "$CPPLINT" ]]; then cpplint --repository=. --recursive --linelength=200 --filter=-build/include ./src; else platformio ci --lib="." --board=lolin32; fi
notifications:
email:
on_success: change
on_failure: change