summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJens Diemer <github.com@jensdiemer.de>2020-02-01 16:38:48 +0100
committerGitHub <noreply@github.com>2020-02-01 16:38:48 +0100
commit1d2fb1c6ac76674939e6f0c34c8623bb6d22e841 (patch)
tree1bfe84ba3ccb2c6100943e282269a82e36016990 /.travis.yml
parent69037331053950a1a03324ef3486769cc88ed591 (diff)
parent42af9043fc37dcc81767c2466139b3360d17bc7a (diff)
downloadcreole-1d2fb1c6ac76674939e6f0c34c8623bb6d22e841.tar.gz
Merge pull request #42 from jedie/setup-utils
Setup utils
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml27
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