travis: run tests both with and without cython

This commit is contained in:
Cosimo Lupo 2018-09-26 19:10:18 +01:00
parent 040c8536e2
commit c0a9b3689c
No known key found for this signature in database
GPG Key ID: 59D54DB0C9976482

View File

@ -1,14 +1,23 @@
sudo: false
language: python
python:
- "2.7"
- "3.6"
matrix:
include:
- env: TOXENV=py27-nocy
python: 2.7
- env: TOXENV=py36-nocy
python: 3.6
- env: TOXENV=py27-cy
python: 2.7
- env: TOXENV=py36-cy
python: 3.6
branches:
only:
- master
- /^v\d+\.\d+.*$/
install: pip install tox-travis
install: pip install tox
script: tox