-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
46 lines (37 loc) · 815 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
38
39
40
41
42
43
44
45
# Config file for automatic testing at travis-ci.org
os: linux
dist: xenial
language: python
jobs:
include:
- name: Python 3.6
python: 3.6
env: python_version=3.6
- name: Python 3.7
python: 3.7
env: python_version=3.7
- name: Python 3.8
python: 3.8
env: python_version=3.8
- name: Python 3.9
python: 3.9-dev
env: python_version=3.9-dev
allow_failures:
- python: 3.9-dev
cache:
directories:
- eggs
install:
- pip install -U pip
- pip install .[test]
- pip install codecov
- sleep 1
script:
- make clean
- make lint
- mypy fhirspec.py
- isort -c fhirspec.py
- black --check --verbose fhirspec.py
- pytest -s --cov=tests -s --tb=native -v --cov-report term-missing --cov-append tests
after_success:
- codecov