curl to tar to avoid the file having a location
At least in travis it wasn't landing where expected so when trying to expand the archive a failure would occur.
This commit is contained in:
parent
2abf4c4eca
commit
8db407b2f1
5
tox.ini
5
tox.ini
@ -68,8 +68,7 @@ basepython = python2.7
|
|||||||
deps = tox
|
deps = tox
|
||||||
commands = -mkdir {envdir}/src
|
commands = -mkdir {envdir}/src
|
||||||
-rm -r {envdir}/src/*
|
-rm -r {envdir}/src/*
|
||||||
curl -o {envdir}/src/nova.tar.gz https://tarballs.openstack.org/nova/nova-master.tar.gz
|
bash -c "curl https://tarballs.openstack.org/nova/nova-master.tar.gz | tar -C {envdir}/src -zxv --strip-components 1 -f - "
|
||||||
tar -C {envdir}/src -zxv --strip-components 1 -f nova.tar.gz
|
|
||||||
tox -c {envdir}/src -e functional --notest # ensure a virtualenv is built
|
tox -c {envdir}/src -e functional --notest # ensure a virtualenv is built
|
||||||
{envdir}/src/.tox/functional/bin/pip install -U {toxinidir} # install gabbi
|
{envdir}/src/.tox/functional/bin/pip install -U {toxinidir} # install gabbi
|
||||||
tox -c {envdir}/src -e functional test_placement_api
|
tox -c {envdir}/src -e functional test_placement_api
|
||||||
@ -77,6 +76,8 @@ whitelist_externals =
|
|||||||
mkdir
|
mkdir
|
||||||
curl
|
curl
|
||||||
tar
|
tar
|
||||||
|
rm
|
||||||
|
bash
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
commands =
|
commands =
|
||||||
|
Loading…
Reference in New Issue
Block a user