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