.travis.yml
language: python
branches:
only:
- master
matrix:
include:
- name: "Python 3.7 on Xenial Linux"
python: 3.7
dist: xenial
- name: "Python 3.7 on macOS"
os: osx
osx_image: xcode10.2
language: shell
- name: "Python 3.7 on Windows"
os: windows
language: shell
before_install: choco install python
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
install: pip3 install -r requirements.txt
script: python3 -m pytest --cov tests/ || python -m pytest --cov tests
after_success: codecov
env: CODECOV_TOKEN="b4f85c60-a2b7-41e5-a771-d36f94d94316"