From f04b014da5f2e6c2bb36582edda1cd50cdd6fee2 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sun, 27 Mar 2016 18:43:02 +0300 Subject: [PATCH] Cache PlatformIO packages using Travis CI container-based infrastructure --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f4b1ba0..72fb665 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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