aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2019-04-13 17:11:42 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-04-13 17:11:43 +0000
commitf52392d79c4cb888c8a8e42e4cbec2d5c45d47e7 (patch)
treef422c93a2ff94cde26648dffdee6c2c6ef4a05c3
parent1503297226706f4d59771fe36e24885ee89c9b6f (diff)
parent049c730a5cf97eff34c82dc0968d709d4cbec1db (diff)
Merge "Run tox in .travis-ci" into stable/iruya
-rw-r--r--.travis.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 08bb7c31..efe5fd00 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,8 +2,17 @@
sudo: required
language: generic
services: docker
+dist: xenial
+addons:
+ apt:
+ packages:
+ - libssl1.0.0
before_script:
+ - 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)
- (cd ../manifest-tool && git checkout v0.9.0)
@@ -11,6 +20,8 @@ before_script:
jobs:
include:
+ - stage: run unit tests
+ script: tox -e pep8,pylint,yamllint,ansiblelint,bashate,py27,py36
- stage: build functest-kubernetes-core image
script: sudo -E bash build.sh
env: