diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-07-26 12:58:04 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-07-26 16:03:59 +0200 |
commit | 7b24ea8dfe1667fe00b87cac9f0a0ca670b6a86f (patch) | |
tree | 026ee9db8c5b5b1385439317a03e461570a85af8 /.travis.yml | |
parent | 5dd0d0ffd46e7665fddde8fd2f4da1a9b58506bb (diff) |
Switch to Python 3.7 and Alpine 3.10
It also allows building docs as doc8 is broken due to latest
OpenStack's upper-constraints.
pylint is updated to 2.3.1 (lastest py3.7 version)
It disables perm as umask is currently false on lf-virtual1.
Change-Id: I8568eeafa44c5dba72e206c532c1f50e3ad547f2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index bfc81b26..e9015ff7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +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 add-apt-repository -y ppa:deadsnakes/ppa - sudo apt-get update - - sudo apt-get install python3.6 python3.6-dev + - sudo apt-get install python3.7 python3.7-dev - sudo pip install tox - sudo -E docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}" - (cd .. && git clone https://github.com/estesp/manifest-tool) @@ -18,7 +18,7 @@ jobs: include: - stage: run unit tests script: > - tox -e docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,py36,cover + tox -e docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,py37,cover - stage: build xtesting images script: sudo -E bash build.sh env: |