aboutsummaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-03-31 12:48:58 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-03-31 12:55:04 +0200
commit5dc3bb2b38d3e0793437bc6027f433f7e76414d1 (patch)
tree5f98d4247ae312e33b05b18f10670502dc762324 /.travis
parente32f6e2247a06627c587d4e219a58b7710a527df (diff)
downloadaports-5dc3bb2b38d3e0793437bc6027f433f7e76414d1.tar.bz2
aports-5dc3bb2b38d3e0793437bc6027f433f7e76414d1.tar.xz
travis: bind /run and symlink /run/shm -> /dev/shm
This fixes problem with e.g. Python multiprocessing Queue - for POSIX semaphores to work, the users need r/w access to shared memory (/dev/shm). See https://github.com/travis-ci/travis-cookbooks/issues/155
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/install-alpine3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis/install-alpine b/.travis/install-alpine
index 538d10fe88..b4607f8a09 100755
--- a/.travis/install-alpine
+++ b/.travis/install-alpine
@@ -32,3 +32,6 @@ cp /etc/resolv.conf etc/resolv.conf
mount -t proc none proc
mount --rbind /sys sys
mount --rbind /dev dev
+mount --rbind /run run
+
+ln -sf /run/shm dev/shm