summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
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