summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 16 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 5060f384..5fa25996 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,16 +9,19 @@ env:
stages:
- test
- lint
-
+
matrix:
include:
- python: 2.7
env: TOXENV=2.7
+ dist: xenial
- python: 3.5
env: TOXENV=3.5
+ dist: xenial
- python: 3.6
env: TOXENV=3.6
+ dist: xenial
- python: 3.7
env: TOXENV=3.7-linux
sudo: true
@@ -34,16 +37,27 @@ matrix:
before_install: sudo apt-get update && sudo apt-get install libgnutls-dev
- env: TOXENV=flake8
stage: lint
+ dist: xenial
+ python: 3.7
- env: TOXENV=flakeplus
stage: lint
+ dist: xenial
+ python: 2.7
- env: TOXENV=apicheck
stage: lint
+ dist: xenial
+ python: 3.7
- env: TOXENV=pydocstyle
stage: lint
+ dist: xenial
+ python: 3.7
+before_install:
+ - sudo apt update
+ - sudo apt install libcurl4-openssl-dev libssl-dev gnutls-dev
install:
- pip --disable-pip-version-check install -U pip setuptools wheel | cat
- - pip --disable-pip-version-check install -U tox | cat
+ - pip --disable-pip-version-check install --upgrade-strategy eager -U tox | cat
script: tox -v -- -v
after_success:
- .tox/$TRAVIS_PYTHON_VERSION/bin/coverage xml