qutebrowser/scripts/dev/ci/travis_run.sh
Florian Bruhin 236572e0f5 Check docs on Travis, take two
We don't regenerate the authors there, as that doesn't work due to Travis
cloning with --depth=50
2016-03-16 06:22:36 +01:00

12 lines
235 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