aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorBryan Quigley <bryan.quigley@canonical.com>2019-01-31 11:24:24 -0800
committerBryn M. Reeves <bmr@redhat.com>2019-03-04 16:24:07 +0000
commit6d17362655951cbd0181e3b5e38fe67c9f30749d (patch)
tree72ed4a926a5b5cb91ecb2043c46d5bc5f6199802 /.travis.yml
parent05a66ba83c8e22d2b43cdbf6fae65c5a66ad1133 (diff)
downloadsos-6d17362655951cbd0181e3b5e38fe67c9f30749d.tar.gz
[travis] Update python versions and 14.04 -> 16.04
The change notes specifically mention how they've improved performance including boot times with 16.04. Python 3.7 is now stable. Add --version flag for pycodestyle. Resolves: #1554 Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 90adba23..93c54693 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,7 @@ python:
- "3.4"
- "3.5"
- "3.6"
- - "3.7-dev"
+ - "3.7"
- "nightly"
matrix:
allow_failures:
@@ -16,13 +16,13 @@ notifications:
channels:
- "us.freenode.net#sosreport"
on_success: change
-dist: trusty
-sudo: true
+dist: xenial
install:
- "pip install -r requirements.txt"
- "python setup.py install"
script:
- "pycodestyle sos"
+ - "pycodestyle --version"
- "nosetests -v --with-cover --cover-package=sos --cover-html"
- "sudo ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python ./sosreport --help"
- "sudo ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python ./sosreport -l --config-file=sos.conf"