-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
55 lines (43 loc) · 907 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
46
47
48
49
50
51
52
53
54
# Config file for automatic testing at travis-ci.org
os: linux
dist: xenial
language: python
services:
- docker
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
env:
global:
- ES_VERSION=7.3.1
- PGPORT=5433
cache:
directories:
- eggs
install:
- pip install -U pip
- pip install -e .[test]
- pip install codecov
- sleep 1
script:
- make clean
- make lint
- mypy src/fhirpath
- isort -c -rc src/fhirpath
- black --check --verbose src/fhirpath
- pytest -s --cov=tests -s --tb=native -v --cov-report term-missing --cov-append tests
after_success:
- codecov