From: Evgeny Vereshchagin Date: Wed, 7 Nov 2018 03:36:57 +0000 (+0100) Subject: travis: make the directory with coverity tools available in a container X-Git-Tag: v240~396 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=13d8a53aaec29eaacec85bfe008e0212d49b1b7a;p=thirdparty%2Fsystemd.git travis: make the directory with coverity tools available in a container Otherwise `coverity.sh build` will fail with ``` find: '/var/tmp/coverity-scan-analysis': No such file or directory ``` See https://travis-ci.org/systemd/systemd/jobs/451683385. --- diff --git a/.travis.yml b/.travis.yml index 499e9eeb91a..724504568eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,10 +42,10 @@ jobs: - FEDORA_RELEASE="latest" - CONT_NAME="coverity-fedora-$FEDORA_RELEASE" - DOCKER_EXEC="docker exec -ti $CONT_NAME" - - DOCKER_RUN="docker run --env-file .cov-env" + - TOOL_BASE="/var/tmp/coverity-scan-analysis" + - DOCKER_RUN="docker run -v $TOOL_BASE:$TOOL_BASE:rw --env-file .cov-env" # Coverity env variables - PLATFORM="$(uname)" - - TOOL_BASE="/var/tmp/coverity-scan-analysis" - TOOL_ARCHIVE="/var/tmp/cov-analysis-$PLATFORM.tgz - SCAN_URL="https://scan.coverity.com" - UPLOAD_URL="https://scan.coverity.com/builds"