Add tobiko-fixture CLI wrapper to CI tools

Change-Id: Ic56585cd05271488e8fba61871e792ea6ebd3914
This commit is contained in:
Federico Ressi 2019-06-25 12:35:29 +02:00
parent 27e46c8c39
commit 1c1234ec1b
4 changed files with 21 additions and 2 deletions

18
tools/ci/fixture Executable file
View File

@ -0,0 +1,18 @@
#!/bin/bash
set -eu
source $(dirname "$0")/activate
source $(dirname "$0")/os
function fixture {
os_setup
tobiko-fixture "$@"
}
if [ $(basename "$0") == fixture ]; then
fixture "$@"
fi

View File

@ -2,7 +2,8 @@
set -eu
source $(dirname "$0")/lib
source $(dirname "$0")/activate
OS_VIRTUAL_ENV=$(realpath "${OS_VIRTUAL_ENV:-.tox/scenario}")

View File

@ -2,7 +2,7 @@
set -eu
source $(dirname "$0")/lib
source $(dirname "$0")/activate
# Prefer python 3 over python 2