12 lines
238 B
Bash
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
|