From: Tim Van Steenburgh Date: Mon, 21 Nov 2016 17:50:52 +0000 (-0500) Subject: Add travis-ci config X-Git-Tag: 0.1.0~46 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=3daec521f17d1f4fd00b47a78b623f3b90d2211c;p=osm%2FN2VC.git Add travis-ci config --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4368ca0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +dist: trusty +sudo: required +language: python +python: + - "3.5" +before_install: + - sudo add-apt-repository ppa:ubuntu-lxc/lxd-stable -y + - sudo add-apt-repository ppa:juju/stable -y + - sudo apt-get update -q + - sudo apt-get install lxd juju -y + - newgrp lxd + - sudo lxd init --auto +install: pip install tox-travis +before_script: + - juju bootstrap localhost test +script: tox +after_script: + - juju destroy-controller --destroy-all-models -y test