forked from flyteorg/flytekit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 978 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
language: python
jobs:
include:
- name: "Python 3.8"
python: 3.8
before_install:
- make setup-spark3
- name: "Python 3.7"
python: 3.7
before_install:
- make setup
# We're running this separately with a separate installation process because most of us use 3.7 locally. When
# we run pip-compile with 3.7, it will sometimes pick up packages that do not work in 3.6. Since the `make setup`
# command uses the strict version numbers, it'll fail under 3.6, so for this version, we install everything just
# from the ranges found in setup.py and the dev .in file.
- name: "Python 3.6"
python: 3.6
before_install:
- make install-piptools
- pip install -U .[all]
- pip install -r dev-requirements.in
install: pip freeze
script:
- make lint
- coverage run -m pytest tests/flytekit/unit
- coverage run -m pytest tests/scripts
- shellcheck **/*.sh
after_success:
- codecov