Misc fixes for gate testing
Ensure snapd is installed, and that the core snap is installed as required for build of classic confinement snaps. Change-Id: I65fd83a9011cdd5a8117660f8904f8a083d4f243
This commit is contained in:
parent
a2a2e5dcb1
commit
8c13ea66dc
4
.gitreview
Normal file
4
.gitreview
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[gerrit]
|
||||||
|
host=review.openstack.org
|
||||||
|
port=29418
|
||||||
|
project=openstack/snap-openstackclients.git
|
@ -1 +1,2 @@
|
|||||||
snapcraft [platform:dpkg]
|
snapcraft [platform:dpkg]
|
||||||
|
snapd [platform:dpkg]
|
||||||
|
4
tox.ini
4
tox.ini
@ -6,9 +6,13 @@ skipsdist = True
|
|||||||
basepython = python3.5
|
basepython = python3.5
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
passenv = HOME TERM
|
passenv = HOME TERM
|
||||||
|
whitelist_externals =
|
||||||
|
sudo
|
||||||
|
snapcraft
|
||||||
|
|
||||||
[testenv:snap]
|
[testenv:snap]
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
|
sudo snap install core
|
||||||
snapcraft clean
|
snapcraft clean
|
||||||
snapcraft snap
|
snapcraft snap
|
||||||
|
Loading…
Reference in New Issue
Block a user