diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2018-11-07 04:36:57 +0100 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2018-11-07 07:19:51 +0300 |
commit | 13d8a53aaec29eaacec85bfe008e0212d49b1b7a (patch) | |
tree | 229b79ba9b507a03cfccb73c706e7938c4e5f77e /.travis.yml | |
parent | hwdb: IdeaPad Miix 310 with another bios version (#10661) (diff) | |
download | systemd-13d8a53aaec29eaacec85bfe008e0212d49b1b7a.tar.gz systemd-13d8a53aaec29eaacec85bfe008e0212d49b1b7a.tar.bz2 systemd-13d8a53aaec29eaacec85bfe008e0212d49b1b7a.zip |
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.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 499e9eeb9..724504568 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" |