snap-openstackclients/tox.ini
James Page 8c13ea66dc 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
2017-02-13 11:31:32 +00:00

19 lines
316 B
INI

[tox]
envlist = snap
skipsdist = True
[testenv]
basepython = python3.5
install_command = pip install {opts} {packages}
passenv = HOME TERM
whitelist_externals =
sudo
snapcraft
[testenv:snap]
deps = -r{toxinidir}/requirements.txt
commands =
sudo snap install core
snapcraft clean
snapcraft snap