-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (33 loc) · 841 Bytes
/
.travis.yml
File metadata and controls
37 lines (33 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Config file for automatic testing at travis-ci.org
sudo: false
language: python
matrix:
include:
- python: 3.6
env: TOX_ENV=py36
- python: 3.7
env: TOX_ENV=py37
- python: 3.8
env: TOX_ENV=py38
- os: osx
language: generic
osx_image: xcode11 # Python 3.7.4 running on macOS 10.14.4
install: pip3 install --upgrade tox pytest
env: TOX_ENV=py37
script: tox -e $TOX_ENV
- python: 3.7
dist: xenial
env: TOX_ENV=coverage
install:
- pip install --upgrade coverage pytest mock
- pip install .
script:
- coverage run -m pytest
- coverage report -m
after_success:
- bash <(curl -s https://codecov.io/bash)
script: tox -e $TOX_ENV
install:
- pip install --upgrade tox pytest
notifications:
email: false