Skip to content

Commit

Permalink
Put --add-cap right after docker run.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Jul 26, 2019
1 parent 1165ce0 commit b8acbfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/travis/steps/script.sh
Expand Up @@ -40,7 +40,8 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then
fi
fi
else
docker run --volume "$HOME"/build-cache:/home/wesnoth-travis/build \
docker run --cap-add=SYS_PTRACE \
--volume "$HOME"/build-cache:/home/wesnoth-travis/build \
--volume "$HOME"/.ccache:/root/.ccache \
--tty wesnoth-repo:"$LTS"-"$BRANCH" \
unbuffer ./utils/travis/docker_run.sh "$NLS" "$TOOL" "$CC" "$CXX" "$CXXSTD" "$OPT" "$WML_TESTS" "$WML_TEST_TIME" "$PLAY_TEST" "$MP_TEST" "$BOOST_TEST" "$LTO" "$SAN" "$VALIDATE"
Expand Down

0 comments on commit b8acbfe

Please sign in to comment.