-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (25 loc) · 853 Bytes
/
.travis.yml
File metadata and controls
30 lines (25 loc) · 853 Bytes
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.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
before_install:
- pip install coverage
install:
- pip install .
script:
- python3 -m unittest discover -s tests/multitax/unit/ -v
- python3 -m unittest discover -s tests/multitax/integration/ -v
after_success:
- if [ "${TRAVIS_PYTHON_VERSION}" == "3.14" ]; then
python3 -m coverage run --source=multitax --omit="/usr/*,tests/*" -m unittest discover -s tests/multitax/unit/ -v &&
python3 -m coverage run --source=multitax --omit="/usr/*,tests/*" -m unittest discover -s tests/multitax/integration/ -v &&
python3 -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;
fi
notifications:
email: false