From c2c2b496348a15592242c327ff891383e1d58dee Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sat, 1 Feb 2020 15:11:45 +0100 Subject: update travis CI --- .travis.yml | 30 +++++++++++++++++++++++------- 1 file 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 -- cgit v1.2.1