2018-11-08 23:57:50 +01:00
|
|
|
# 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).
|
|
|
|
#
|
2020-02-29 16:30:15 +01:00
|
|
|
# * Test the Travis config here:
|
|
|
|
# < https://config.travis-ci.com/explore >
|
|
|
|
#
|
2018-11-08 23:57:50 +01:00
|
|
|
|
2018-11-11 19:34:19 +01:00
|
|
|
language: python
|
|
|
|
python:
|
2020-02-29 16:30:15 +01:00
|
|
|
# - "2.7"
|
|
|
|
- "3.5"
|
|
|
|
os: linux
|
2018-11-11 19:34:19 +01:00
|
|
|
cache:
|
2020-02-29 16:30:15 +01:00
|
|
|
bundler: true
|
|
|
|
ccache: true
|
2018-11-11 19:34:19 +01:00
|
|
|
directories:
|
|
|
|
- "~/.platformio"
|
2020-02-29 16:30:15 +01:00
|
|
|
- "~/.buildcache"
|
2018-11-13 00:32:35 +01:00
|
|
|
env:
|
2018-11-14 20:21:36 +01:00
|
|
|
- PLATFORMIO_CI_SRC=wled00
|
2018-11-11 19:34:19 +01:00
|
|
|
install:
|
|
|
|
- pip install -U platformio
|
|
|
|
- platformio update
|
|
|
|
script:
|
2020-02-29 16:30:15 +01:00
|
|
|
# - platformio ci --project-conf=./platformio.ini
|
2020-05-11 11:18:07 +02:00
|
|
|
- platformio run
|