Merge pull request #26 from thijstriemstra/patch-1

enable add travis ci builds
This commit is contained in:
Renzo Mischianti 2020-08-01 08:33:09 +02:00 committed by GitHub
commit a112f94c68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

42
.travis.yml Normal file
View File

@ -0,0 +1,42 @@
# Continuous Integration (CI) is the practice, in software
# engineering, of merging all developer working copies with a shared mainline
# several times a day < https://docs.platformio.org/page/ci/index.html >
#
# Documentation:
#
# * Travis CI Embedded Builds with PlatformIO
# < https://docs.travis-ci.com/user/integration/platformio/ >
#
# * PlatformIO integration with Travis CI
# < https://docs.platformio.org/page/ci/travis.html >
#
# * User Guide for `platformio ci` command
# < https://docs.platformio.org/page/userguide/cmd_ci.html >
#
#
# Please choose one of the following templates (proposed below) and uncomment
# it (remove "# " before each line) or use own configuration according to the
# Travis CI documentation (see above).
#
language: python
python:
- "2.7"
# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
cache:
directories:
- "~/.platformio"
- $HOME/.cache/pip
env:
- PLATFORMIO_CI_SRC=examples/Arduino4Leds4ButtonsWithInterrupt/Arduino4Leds4ButtonsWithInterrupt.ino
- PLATFORMIO_CI_SRC=examples/readAll_Interrupt/readAll_Interrupt.ino
install:
- pip install -U platformio pip setuptools
- platformio update
script:
- platformio ci --lib="." --board=uno --board=esp-wrover-kit