X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=.travis.yml;h=9716fea33658700e7c6101bdd4fa826de450f431;hb=40933126953cd398c1f9783513ec706a14f78665;hp=bd71aefd54fc210fbac4264c851b3872b7a500d6;hpb=0f89c658115e65a767cc16af89e920733164904a;p=osm%2FN2VC.git diff --git a/.travis.yml b/.travis.yml index bd71aef..9716fea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,11 +9,10 @@ before_install: - sudo apt-get update -q - sudo apt-get install lxd juju -y - sudo usermod -a -G lxd $USER - - groups - sudo lxd init --auto install: pip install tox-travis before_script: - - juju bootstrap localhost test -script: tox + - sudo -E sudo -u $USER -E bash -c "juju bootstrap localhost test" +script: tox -e py35,integration after_script: - - juju destroy-controller --destroy-all-models -y test + - sudo -E sudo -u $USER -E bash -c "juju destroy-controller --destroy-all-models -y test"