Downloading them became very slow recently. While this may change again in the future, it's more sustainable to have the unpacked archive cached in s3 and do not rely on a decent connection to kiszka.org.
The cache is now preferred over a download, so the travis-ci cache content has to be cleared in order to obtain any updates from kiszka.org. We work around potentially slow downloads from kiszka.org that take more than 10 minutes, thus trigger the travis-ci watchdog, by enabling progress reporting of wget. Signed-off-by: Jan Kiszka <[email protected]> --- .travis.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 309e7f9..0a16d56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,11 +30,18 @@ install: - sudo apt-get install -qq python-mako gcc-arm-linux-gnueabihf make # Update scan.coverity.com certificate - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt - # Install kernel build environment - - pushd ci - - wget -q http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz - - tar xJf kernel-build.tar.xz - - popd + # Install kernel build environment if it's not in the cache + - if [ ! -L ci/linux ]; then + pushd ci; + wget http://www.kiszka.org/downloads/travis-ci/kernel-build.tar.xz; + tar xJf kernel-build.tar.xz; + popd; + fi + +cache: + directories: + - ci/linux + - ci/linux-4.4 script: - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; -- 2.1.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
