summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-01-08 10:50:32 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2020-01-08 14:23:38 +0100
commit8d9f032db609ea1ad8c6f058c7293b0d138e4860 (patch)
tree8bf0f517dcadb09ef556954cf23969a11a497963
parent52fa6aa1b5cacebab9d7db2fd4c532bcddddd7f1 (diff)
ci: travis: enable ptrace capabilities to our docker runs
ASAN leak sanitizer needs ptrace capabilities to run. It seems the removal sudo true brings up this issue for us. https://github.com/google/sanitizers/issues/764 https://github.com/travis-ci/travis-ci/issues/9033 It fixes the recent breaks in our ASAN enabled job durign our cron builds. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11041
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 1af79309c3..9da669513d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -95,7 +95,7 @@ before_script:
95 if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then 95 if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then
96 docker pull stefanschmidt1/ci-support-files:$DISTRO 96 docker pull stefanschmidt1/ci-support-files:$DISTRO
97 docker version 97 docker version
98 docker run --cidfile $HOME/cid -t -d -v `pwd`:/src -v $HOME/.ccache:/root/.ccache -w /src stefanschmidt1/ci-support-files:$DISTRO bash 98 docker run --cap-add SYS_PTRACE --cidfile $HOME/cid -t -d -v `pwd`:/src -v $HOME/.ccache:/root/.ccache -w /src stefanschmidt1/ci-support-files:$DISTRO bash
99 fi 99 fi
100 - | 100 - |
101 if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" == "" ]]; then 101 if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" == "" ]]; then