diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2019-10-23 16:40:52 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-10-24 13:28:16 +0200 |
| commit | 7de1c2669e8a5f9b2fedde0f3b317818531c19f8 (patch) | |
| tree | 536dad02401ee992d67537b16dcf7b308669b6e0 | |
| parent | 86ac7be80a13c339c5fe6da4cd045761c92bdc2d (diff) | |
| download | mullvadvpn-7de1c2669e8a5f9b2fedde0f3b317818531c19f8.tar.xz mullvadvpn-7de1c2669e8a5f9b2fedde0f3b317818531c19f8.zip | |
Run docker in privileged mode to allow statx
| -rw-r--r-- | .travis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index a6e9b6f24b..7b5d399a42 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,7 +95,11 @@ matrix: dist: xenial services: docker before_script: &rust_before_script - - docker run -d --name mvd-build -v $(pwd):/travis -w /travis mullvadvpn/mullvadvpn-app-build:latest tail -f /dev/null + - docker --version + # --privileged is required because nightly cargo uses statx instead of stat, and that + # syscall is so new that it's not on the docker whitelist yet. + # https://github.com/rust-lang/rust/issues/65662 + - docker run -d --privileged --name mvd-build -v $(pwd):/travis -w /travis mullvadvpn/mullvadvpn-app-build:latest tail -f /dev/null - docker ps script: - docker exec -t mvd-build bash ci/ci-rust-script.sh nightly |
