buildenv now more or less stable, so let's cache it

This commit is contained in:
Oleksii Shevchuk 2017-07-02 17:58:03 +03:00
parent 05bcc291f9
commit d84c6deaf8
1 changed files with 4 additions and 0 deletions

View File

@ -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