-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
30 lines (25 loc) · 852 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
language: python
python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
before_install:
- python -m pip install coverage
- python -m pip install setuptools importlib-metadata --upgrade # fix bug setuptools py37
install:
- python setup.py install
script:
- python -m unittest discover -s tests/multitax/unit/ -v
- python -m unittest discover -s tests/multitax/integration/ -v
- python -m coverage run --omit="/usr/*,tests/*" -m unittest discover -s tests/multitax/unit/ -v
- python -m coverage run --append --omit="/usr/*,tests/*" -m unittest discover -s tests/multitax/integration/ -v
after_success:
- python -m coverage xml -o coverage_py.xml
- curl -Os https://uploader.codecov.io/latest/linux/codecov;
- chmod +x codecov;
- ./codecov --nonZero -X search --file coverage_py.xml;
notifications:
email: false