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 558626196b
commit e1ade65de0

View File

@@ -1,6 +1,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"
@@ -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