qutebrowser/scripts/dev/ci/travis_run.sh
2016-09-05 16:00:23 +02:00

11 lines
259 B
Bash

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