Cache PlatformIO packages using Travis CI container-based infrastructure

This commit is contained in:
Ivan Kravets
2016-03-27 18:43:02 +03:00
parent 864ed3ad4d
commit f04b014da5

View File

@@ -2,6 +2,12 @@ language: python
python:
- "2.7"
# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
cache:
directories:
- "~/.platformio"
env:
- PLATFORMIO_CI_SRC=examples/AiwaRCT501SendDemo PLATFORMIO_BUILD_FLAGS="-DSEND_AIWA_RC_T501"
- PLATFORMIO_CI_SRC=examples/IRrecord PLATFORMIO_BUILD_FLAGS="-DSEND_NEC -DSEND_SONY -DSEND_RC5 -DSEND_RC6"
@@ -16,7 +22,7 @@ env:
- PLATFORMIO_CI_SRC=examples/IRremoteInfo
install:
- python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
- pip install -U platformio
script:
- platformio ci --lib="." --board=uno --board=leonardo --board=pro16MHzatmega168