diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 5ff3ee0..eda48d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,24 @@ # 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 + # TODO: + #- os: osx + # language: generic install: - make install-poetry @@ -16,8 +28,9 @@ install: - make tox-listenvs script: - - make pytest - - make lint + - if [ "$TOXENV" == "" ]; then make pytest; fi + - if [ "$TOXENV" != "" ]; then make tox; fi + - if [ "$TOXENV" != "" ]; then make lint; fi after_success: - coveralls |