
1) Revert "Remove tests for master branch", commit
d149f30a4b
.
2) Use test-requirements.txt from stable/queens to select the
stable/queens branches of python-opflex-agent and
python-group-based-policy-client, and the noiro-lite branch of
acitoolkit.
3) Use pushd/popd in tox_install.sh to restore initial CWD after
switching requirements branch.
Change-Id: I39895732aac0bdfaee95274cbcb262d6744faeb1
23 lines
342 B
Bash
Executable File
23 lines
342 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# From the tox.ini config page:
|
|
# install_command=ARGV
|
|
# default:
|
|
# pip install {opts} {packages}
|
|
|
|
DIR=/home/zuul/src/git.openstack.org/openstack/requirements
|
|
if [ -d "$DIR" ]; then
|
|
pushd $DIR
|
|
git checkout stable/queens
|
|
popd
|
|
fi
|
|
|
|
set -e
|
|
set -x
|
|
|
|
install_cmd="pip install -c$1"
|
|
shift
|
|
|
|
$install_cmd -U $*
|
|
exit $?
|