summaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2016-10-31 08:58:44 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-11-04 09:32:10 +0900
commitfba95e2afaa314572fe49961fe9961a072ff1902 (patch)
tree65cf1311e75fd950f4a424ea97db22f54bdceaac /.travis.yml
parent8d9ce87653566625f31f8dbca460733351bbd4e2 (diff)
ut/ovs: Add UT using Docker for ryu.lib.ovs
This patch adds UT cases using Docker for ryu.lib.ovs. If Docker is not available, these tests will be skipped. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 82d194f6..826f3acf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,9 +2,6 @@ language: python
python:
- "3.5" # Python 3.5 still needs to be installed on Travis-CI
-services:
- - docker
-
env:
- TOX_ENV=py27
- TOX_ENV=py34
@@ -12,10 +9,16 @@ env:
- TOX_ENV=pypy26
- TOX_ENV=pep8
+services:
+ - docker
+
+sudo: required # Required to enable Docker service
+
install:
+ - docker build -t ut_mininet ryu/tests/docker/mininet/
+ - CID=`docker run --privileged -t -d ut_mininet`; docker rm -f $CID # Test container
- pip install tox coveralls
-sudo: required
script:
- NOSE_VERBOSE=0 tox -e $TOX_ENV