-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (34 loc) · 1.02 KB
/
.travis.yml
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
38
39
40
41
42
43
44
language: python
matrix:
include:
- name: "xenial 3.5"
python: "3.5"
dist: xenial
- name: "xenial 3.6"
python: "3.6"
dist: xenial
- name: "xenial 3.7"
python: "3.7"
dist: xenial
- name: "trusty 3.5"
python: "3.5"
dist: trusty
- name: "trusty 3.6"
python: "3.6"
dist: trusty
- name: "osx 3.7"
os: osx
osx_image: xcode10.2 # Python 3.7.2 running on macOS 10.14.3
language: shell # 'language: python' is an error on Travis CI macOS
python: "3.7"
- name: "osx 3.6"
os: osx
osx_image: xcode10.2 # Python 3.7.2 running on macOS 10.14.3
language: shell # 'language: python' is an error on Travis CI macOS
python: "3.6"
install: pip3 install -e .[test] || pip install -e .[test]
# https://docs.travis-ci.com/user/languages/python/#running-python-tests-on-multiple-operating-systems
script: python3 -m pytest || python -m pytest
# Push the results back to codecov
after_success:
- codecov