about summary refs log tree commit diff stats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-03-30 14:36:10 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-03-30 14:43:29 +0200
commit8386cac8e74adac7539777930a1ef3597e5dedb8 (patch)
tree59f8f29f56530d8c0b3293db00a0bdde4adfcbd8 /.travis.yml
parente88113afa1b47c42f0e1db44b1acf81eea2207d2 (diff)
downloadprofani-tty-8386cac8e74adac7539777930a1ef3597e5dedb8.tar.gz
Run docker in privileged mode
From https://docs.docker.com/engine/reference/run/:

```
When the operator executes docker run --privileged, Docker will enable
access to all devices on the host as well as set some configuration in
AppArmor or SELinux to allow the container nearly all the same access to
the host as processes running outside containers on the host.
```

Regards https://github.com/profanity-im/profanity/issues/1294
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index f092d436..6af203af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,7 +36,7 @@ before_install:
 
 script:
   - if [ "$TRAVIS_OS_NAME" = "linux" ]; then
-    docker run -it profanity ./ci-build.sh;
+    docker run -it --privileged profanity ./ci-build.sh;
     fi
   - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
     ./ci-build.sh;