qutebrowser/scripts/dev/ci/travis_run.sh

11 lines
313 B
Bash
Raw Normal View History

2016-03-15 19:23:49 +01:00
#!/bin/bash
if [[ $DOCKER ]]; then
docker run --privileged -v $PWD:/outside -e QUTE_BDD_WEBENGINE=$QUTE_BDD_WEBENGINE -e DOCKER=$DOCKER -e CI=$CI qutebrowser/travis:$DOCKER
2016-03-15 19:23:49 +01:00
else
args=()
2017-02-05 12:58:37 +01:00
[[ $TRAVIS_OS_NAME == osx ]] && args=('--qute-bdd-webengine' '--no-xvfb')
2016-03-16 06:52:06 +01:00
tox -e $TESTENV -- "${args[@]}"
2016-03-15 19:23:49 +01:00
fi