summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJensDiemer <git@jensdiemer.de>2020-02-01 15:11:45 +0100
committerJensDiemer <git@jensdiemer.de>2020-02-01 15:16:19 +0100
commitc2c2b496348a15592242c327ff891383e1d58dee (patch)
treea5640db26781a13c5b756cc94320009b8c974d99
parent8ca1df9ae6cb3181612e78ae1c6cf3732d01cb55 (diff)
downloadcreole-c2c2b496348a15592242c327ff891383e1d58dee.tar.gz
update travis CI
-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