qutebrowser/scripts/dev/ci/travis_run.sh

16 lines
367 B
Bash
Raw Normal View History

2016-03-15 19:23:49 +01:00
#!/bin/bash
if [[ $DOCKER ]]; then
# To build a fresh image:
# docker build -t img misc/docker/$DOCKER
# docker run --privileged -v $PWD:/outside img
2016-03-16 07:23:17 +01:00
docker run --privileged -v $PWD:/outside \
thecompiler/qutebrowser-manual:$DOCKER
2016-03-15 19:23:49 +01:00
else
args=()
[[ $TESTENV == docs ]] && args=('--no-authors')
2016-03-16 06:52:06 +01:00
tox -e $TESTENV -- "${args[@]}"
2016-03-15 19:23:49 +01:00
fi