From 36a49e382942cee56e640a1e0d77ec06473491ea Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Wed, 17 Feb 2016 17:58:12 -0800 Subject: [PATCH] [travis] 2nd pass at caching the arduino ide and first pass at caching ccache --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index b8965fba..cba28b61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,7 @@ language: c before_install: - - pushd .. - - wget http://downloads.arduino.cc/arduino-1.6.7-linux64.tar.xz - - tar xf arduino-1.6.7-linux64.tar.xz + - pushd $HOME + - if [ ! -d arduino-1.6.7 ]; then wget http://downloads.arduino.cc/arduino-1.6.7-linux64.tar.xz && tar xf arduino-1.6.7-linux64.tar.xz; fi - popd install: - mkdir ../libs @@ -13,11 +12,12 @@ install: - git clone https://github.com/keyboardio/KeyboardioSX1509.git - popd script: - - make compile size ARDUINO_PATH=../arduino-1.6.7 ARDUINO_LOCAL_LIB_PATH=../libs + - make compile size ARDUINO_PATH=$HOME/arduino-1.6.7 ARDUINO_LOCAL_LIB_PATH=../libs notifications: email: on_success: change on_failure: change cache: - directories: - ../arduino-1.6.7 \ No newline at end of file + - ccache + - directories: + - $HOME/arduino-1.6.7 \ No newline at end of file