Use privileged mode

This commit is contained in:
xerial 2017-01-19 22:35:44 -08:00
parent dc33aaf564
commit 0c00a0cd6a
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ script:
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
make native-all && sbt ++$TRAVIS_SCALA_VERSION "; test; publish";
else
make native && sbt ++$TRAVIS_SCALA_VERSION test;
make linux64 && sbt ++$TRAVIS_SCALA_VERSION test;
fi;
else
sbt ++$TRAVIS_SCALA_VERSION test;

View File

@ -146,7 +146,7 @@ $(TARGET)/$(snappy-jar-version).jar:
test: $(NATIVE_DLL)
$(SBT) test
DOCKER_RUN_OPTS=--rm
DOCKER_RUN_OPTS=--privileged
win32: jni-header
./docker/dockcross-windows-x86 -a $(DOCKER_RUN_OPTS) bash -c 'make clean-native native CROSS_PREFIX=i686-w64-mingw32.static- OS_NAME=Windows OS_ARCH=x86'