travis: Use prebuilt docker images

This commit is contained in:
Florian Bruhin 2016-03-16 07:23:17 +01:00
parent b76886d2ff
commit ee4fa6c118

View File

@ -1,8 +1,12 @@
#!/bin/bash
if [[ $DOCKER ]]; then
docker build -t img misc/docker/$DOCKER
docker run --privileged -v $PWD:/outside img
# To build a fresh image:
# docker build -t img misc/docker/$DOCKER
# docker run --privileged -v $PWD:/outside img
docker run --privileged -v $PWD:/outside \
thecompiler/qutebrowser-manual:$DOCKER
else
args=()
[[ $TESTENV == docs ]] && args=('--no-authors')