qutebrowser/scripts/dev/ci/travis_run.sh
2016-05-29 18:47:58 +02:00

21 lines
464 B
Bash

#!/bin/bash
if [[ $DOCKER ]]; then
# 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')
tox -e $TESTENV -- "${args[@]}"
tox_exit=$?
if ((tox_exit != 0)); then
echo "tox exit status: $tox_exit"
fi
fi