Update Travis

This commit is contained in:
Unrud 2020-02-20 15:13:03 +01:00 committed by Unrud
parent f46a3e3d24
commit 8373a8961e

View File

@ -1,22 +1,22 @@
language: python language: python
env: PYTHON=python3 os: linux
env:
global:
- PYTHON=python3
- COVERALLS_PARALLEL=true
matrix: jobs:
include: include:
- name: "Python 3.5 on Linux" - stage: test
os: linux name: "Python 3.5 on Linux"
python: 3.5 python: 3.5
- name: "Python 3.6 on Linux" - name: "Python 3.6 on Linux"
os: linux
python: 3.6 python: 3.6
- name: "Python 3.7 on Linux" - name: "Python 3.7 on Linux"
os: linux
python: 3.7 python: 3.7
- name: "Python 3.8 on Linux" - name: "Python 3.8 on Linux"
os: linux
python: 3.8 python: 3.8
- name: "PyPy 3 on Linux" - name: "PyPy 3 on Linux"
os: linux
python: pypy3 python: pypy3
- name: "Python 3 on macOS" - name: "Python 3 on macOS"
os: osx os: osx
@ -27,11 +27,13 @@ matrix:
before_install: before_install:
- choco install python --version 3.8 - choco install python --version 3.8
- python -m pip install --upgrade pip - python -m pip install --upgrade pip
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH PYTHON=python env:
- PATH=/c/Python38:/c/Python38/Scripts:$PATH
- PYTHON=python
notifications: notifications:
webhooks: webhooks:
- https://coveralls.io/webhook?repo_token=COVERALLS_REPO_TOKEN - https://coveralls.io/webhook
install: install:
- ${PYTHON} --version - ${PYTHON} --version
@ -43,4 +45,4 @@ script:
- ${PYTHON} setup.py test - ${PYTHON} setup.py test
after_success: after_success:
- env COVERALLS_PARALLEL=true ${PYTHON} -m coveralls - ${PYTHON} -m coveralls