2016-03-15 19:23:49 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [[ $DOCKER ]]; then
|
2016-03-16 07:23:17 +01:00
|
|
|
docker run --privileged -v $PWD:/outside \
|
2016-04-29 22:52:44 +02:00
|
|
|
thecompiler/qutebrowser:$DOCKER
|
2016-03-15 19:23:49 +01:00
|
|
|
else
|
2016-03-16 06:22:36 +01:00
|
|
|
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
|