-
Notifications
You must be signed in to change notification settings - Fork 109
/
.travis.yml
60 lines (54 loc) · 1.42 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Config file for automatic testing at travis-ci.org
language: python
jobs:
include:
- name: "Python 3.8 on Linux (dist:jammy)"
os: linux
dist: jammy
language: python
python: 3.8
env: python_version=3.8
- name: "Python 3.9 on Linux (dist:jammy)"
os: linux
dist: jammy
language: python
python: 3.9
env: python_version=3.9
- name: "Python 3.10 on Linux (dist:jammy)"
os: linux
dist: jammy
language: python
python: 3.10
env: python_version=3.10
- name: "Python 3.11 on Linux (dist:jammy)"
os: linux
dist: jammy
language: python
python: 3.11
env: python_version=3.11
- name: "Python 3.12-dev on Linux (dist:jammy)"
os: linux
dist: jammy
language: python
python: 3.12-dev
env: python_version=3.12-dev
allow_failures:
- python: 3.12-dev
cache:
directories:
- eggs
install:
- pip install -U pip
- pip install -e .[test]
- pip install codecov
- sleep 1
script:
- make clean
- make lint
- black --check --verbose fhir/resources/
# - pytest tests
- pytest fhir/resources/STU3/tests
- pytest -s --cov=fhir/resources/R4B/tests -s --tb=native -v --cov-report term-missing --cov-append fhir/resources/R4B/tests
- pytest -s --cov=fhir/resources/tests -s --tb=native -v --cov-report term-missing --cov-append fhir/resources/tests
after_success:
- codecov