snap-tempest/tox.ini
James Page bf3807304f Misc fixes for gate tests
Ensure snapd and the core snap are installed as required to
test build a classic snap.

Change-Id: If7d68fc16a76fd2374bfcc49256f5126b87517fc
2017-02-13 11:33:20 +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