summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml30
1 files changed, 23 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 5ff3ee0..a2b0b63 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,23 @@
# Config file for automatic testing at travis-ci.org
language: python
+cache: pip
-python:
- - "3.8"
- - "3.7"
- - "3.6"
- - "pypy3"
+matrix:
+ include:
+ - os: linux
+ python: 3.6
+ env: TOXENV=py36
+ - os: linux
+ python: 3.7
+ env: TOXENV=py37
+ - os: linux
+ python: 3.8
+ env: TOXENV=py38
+ - os: linux
+ python: pypy3
+ - os: osx
+ language: generic
install:
- make install-poetry
@@ -16,8 +27,13 @@ install:
- make tox-listenvs
script:
- - make pytest
- - make lint
+ - |
+ if [[ "$TOXENV" != "" ]]; then
+ - make tox
+ - make lint
+ else
+ - make pytest
+ fi
after_success:
- coveralls