summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorpbregener <pbregener@users.noreply.github.com>2018-11-07 11:46:43 +0100
committerJoris Roovers <jroovers@cisco.com>2019-03-13 10:35:43 +0100
commit87993c9f75264ba09e1602ff619731c410aad5da (patch)
tree9b67736be15b8ab71edc42ddc16322b7bee1daa4 /.travis.yml
parentc9db6a0b49004f514254c79fa5048dbd5a760e3d (diff)
Various test fixes, linting in CI, Python 3.7 compatibility (#76)
- Various text fixes all over - Enable lint tests for Python 3.6 - Fix some pylint warnings - Ignore pylint errors for bad options - Use unittest2 only for Python 2 - Test Python 3.7 in Travis - Integration Tests: Introduce assertEqualStdout - Activate all integration tests in Travis - Update dependencies in requirements.txt
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml36
1 files changed, 5 insertions, 31 deletions
diff --git a/.travis.yml b/.travis.yml
index c121329..261bda0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,43 +9,17 @@ matrix:
os: linux
- python: "3.3"
os: linux
- script:
- # Skip integration tests in Travis for Python 3.3, need to look into this
- # Error example: https://travis-ci.org/jorisroovers/gitlint/jobs/310861373
- - "./run_tests.sh"
- - "./run_tests.sh --build"
- - "./run_tests.sh --pep8"
- - "./run_tests.sh --lint"
- - "./run_tests.sh --git"
- python: "3.4"
os: linux
- script:
- # Skip integration tests in Travis for Python 3.4, need to look into this
- # Error example: https://travis-ci.org/jorisroovers/gitlint/jobs/310861374
- - "./run_tests.sh"
- - "./run_tests.sh --build"
- - "./run_tests.sh --pep8"
- - "./run_tests.sh --lint"
- - "./run_tests.sh --git"
- python: "3.5"
os: linux
- script:
- # Skip integration tests in Travis for Python 3.5, need to look into this
- # Error example: https://travis-ci.org/jorisroovers/gitlint/jobs/310861375
- - "./run_tests.sh"
- - "./run_tests.sh --build"
- - "./run_tests.sh --pep8"
- - "./run_tests.sh --lint"
- - "./run_tests.sh --git"
- python: "3.6"
os: linux
- script:
- # Skip lint tests for python 3.6 (see https://github.com/PyCQA/pylint/issues/1072)
- - "./run_tests.sh"
- - "./run_tests.sh --integration"
- - "./run_tests.sh --build"
- - "./run_tests.sh --pep8"
- - "./run_tests.sh --git"
+ - python: "3.7"
+ os: linux
+ # See https://github.com/travis-ci/travis-ci/issues/9815
+ dist: xenial
+ sudo: true
- python: "pypy"
os: linux
install: