diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
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 |