diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-07-25 00:47:00 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-07-24 22:04:18 +0000 |
commit | c2b3208e288b8194ba385dee2c84942ab61b552f (patch) | |
tree | bac32400611e1d9ae0e4fdca0d55109273d309cb | |
parent | 325fc9c127adb8d8dd9406d3b09bcf802987a549 (diff) | |
download | meson-c2b3208e288b8194ba385dee2c84942ab61b552f.zip meson-c2b3208e288b8194ba385dee2c84942ab61b552f.tar.gz meson-c2b3208e288b8194ba385dee2c84942ab61b552f.tar.bz2 |
.travis.yml: Fix cross-mingw test failures
Run docker with seccomp:unconfined, since otherwise we're blocked from
calling CreateToolhelp32Snapshot() inside the cross-mingw tests,
specifically `common/122 shared module`.
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 8f393f1..cd78f41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,7 +58,7 @@ script: - | if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ci_env=`bash <(curl -s https://codecov.io/env)` - docker run $ci_env -v ${PWD}/.coverage:/root/.coverage \ + docker run --security-opt seccomp:unconfined $ci_env -v ${PWD}/.coverage:/root/.coverage \ withgit \ /bin/sh -c "cd /root && mkdir -p tools; wget -c http://nirbheek.in/files/binaries/ninja/linux-amd64/ninja -O /root/tools/ninja; chmod +x /root/tools/ninja; CC=$CC CXX=$CXX OBJC=$CC OBJCXX=$CXX PATH=/root/tools:$PATH MESON_FIXED_NINJA=1 ./run_tests.py $RUN_TESTS_ARGS -- $MESON_ARGS && chmod -R a+rwX .coverage" fi |