From 906e6c069425bc3d8340312edc9c42bc0fa40371 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 19 Oct 2015 15:57:59 +0100 Subject: [PATCH] Cache @PlatformIO packages using @travis-ci container-based infrastructure --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b77449f0..b02d84a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +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/acm/acm_terminal @@ -51,7 +54,7 @@ env: - PLATFORMIO_CI_SRC=examples/Xbox/XBOXUSB install: - - python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)" + - pip install -U platformio # # Libraries from PlatformIO Library Registry: