From d84c6deaf8aba1145a79f62989ffd8ff255d3554 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Sun, 2 Jul 2017 17:58:03 +0300 Subject: [PATCH] buildenv now more or less stable, so let's cache it --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index c9b2cd44..fbfe54d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,10 @@ script: - cd $TRAVIS_BUILD_DIR/pupy && rm -f payload_templates/* - cd $TRAVIS_BUILD_DIR/client/sources && ./buildenv.sh && ./build.sh - cd $TRAVIS_BUILD_DIR/client/sources-linux && sudo -E ./buildenv.sh && sudo -E ./build.sh +cache: + directories: + - $TRAVIS_BUILD_DIR/client/sources/buildenv + - $TRAVIS_BUILD_DIR/client/sources-linux/buildenv after_success: - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - export REPO=alxchk/pupy