forked from fruzsinaagocs/oscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (37 loc) · 977 Bytes
/
.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
language: python
matrix:
include:
- name: "Python 3.7 on Xenial Linux"
python: 3.7
- name: "Python 3.8 on Xenial Linux"
python: 3.8
- name: "Python 3.9 on Xenial Linux"
python: 3.9
- name: "Python 3.7.5 on macOS"
os: osx
osx_image: xcode10.2
language: generic
env: PYENV_VERSION=3.7.5
- name: "Python 3.7.7 on macOS"
os: osx
osx_image: xcode11.7
language: generic
env: PYENV_VERSION=3.7.7
- name: "Python 3.9 on macOS"
os: osx
osx_image: xcode12.2
language: generic
env: PYENV_VERSION=3.9.0
install:
- python --version
- python3 --version
- pip3 install -U pip
- pip3 install -r requirements.txt
- pip3 install .
script:
- coverage run -m pytest tests/
branches:
only:
- master
after_success:
- bash <(curl -s https://codecov.io/bash)