forked from ydataai/ydata-profiling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 893 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
os: linux
dist: bionic
language: python
cache:
pip: true
directories:
- data/
python:
- "3.6"
- "3.7"
- "3.8"
env:
- TEST=unit
- TEST=issue
- TEST=console
- TEST=examples
- TEST=lint
- TEST=typing
install:
- pip install --upgrade pip six
- pip install -r requirements.txt
- pip install -r requirements-test.txt
- pip install -e .[notebook,app,html]
script:
- if [ $TEST == 'unit' ]; then pytest --cov=. tests/unit/; fi
- if [ $TEST == 'issue' ]; then pytest --cov=. tests/issues/; fi
- if [ $TEST == 'examples' ]; then pytest --cov=. --nbval tests/notebooks/; fi
- if [ $TEST == 'console' ]; then pandas_profiling -h; fi
- if [ $TEST == 'typing' ]; then pytest --mypy -m mypy .; fi
- if [ $TEST == 'lint' ]; then pytest --black -m black src/; flake8 . --select=E9,F63,F7,F82 --show-source --statistics; fi
after_success:
- codecov -F $TEST