qutebrowser/scripts/dev/ci/travis_run.sh
2016-03-16 06:52:06 +01:00

12 lines
238 B
Bash

#!/bin/bash
if [[ $DOCKER ]]; then
docker build -t img misc/docker/$DOCKER
docker run --privileged -v $PWD:/outside img
else
args=()
[[ $TESTENV == docs ]] && args=('--no-authors')
tox -e $TESTENV -- "${args[@]}"
fi