summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-04-13 22:30:42 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-04-14 00:39:55 +0200
commitd5901eba84ea780e90cff4dd97155615f0b0a9fc (patch)
tree0639fdd172923c37c3b2159c7f65c876f3d6e0c3
parenta29f9948853d652186ee6fcd711d813a6b4d77b0 (diff)
Verify py36 via travis-ci
Change-Id: I1180478c19d0f1c56e615a2af568cbbf4cc828d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8f1248484478813b7881e4642cf5ca6dbcf86f74)
-rw-r--r--.travis.yml5
-rw-r--r--tox.ini8
2 files changed, 5 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index 201b4b946..01db69a03 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,9 @@ language: generic
before_script:
- sudo apt-get -y install qemu-user-static
+ - sudo add-apt-repository -y ppa:jonathonf/python-3.6
+ - sudo apt-get update
+ - sudo apt-get install python3.6 python3.6-dev
- sudo pip install tox
- sudo -E docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}"
- (cd .. && git clone https://github.com/estesp/manifest-tool)
@@ -14,7 +17,7 @@ before_script:
jobs:
include:
- stage: run unit tests
- script: tox -e docs,pep8,pylint,yamllint,bashate,py27,cover
+ script: tox -e docs,pep8,pylint,yamllint,bashate,py27,py36,cover
- stage: build functest-core images
script: sudo -E bash build.sh
env:
diff --git a/tox.ini b/tox.ini
index 00ee79d4f..d817eeece 100644
--- a/tox.ini
+++ b/tox.ini
@@ -92,13 +92,7 @@ commands =
ansible-lint ansible/site.yml
[testenv:py36]
-dirs =
- functest/tests/unit/ci
- functest/tests/unit/odl
- functest/tests/unit/openstack
- functest/tests/unit/vnf/epc
- functest/tests/unit/utils
-commands = nosetests {[testenv:py36]dirs}
+commands = nosetests functest/tests/unit
[testenv:bashate]
basepython = python2.7