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.
This commit is contained in:
parent
844df810b8
commit
13d8a53aae
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue