forked from ni/nimi-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
30 lines (26 loc) · 1.02 KB
/
.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
group: travis_latest
language: python
dist: focal
matrix:
include:
# We run tests on the latest supported version of Python first.
# This is where additional tests are run so we give it more time.
- python: "3.10"
- python: "3.7"
- python: "3.8"
- python: "3.9"
install:
- travis_retry sudo apt-get -y install python3-pip
- travis_retry pip install --upgrade pip
- travis_retry pip install --upgrade tox tox-travis codecov
before_script:
- python tools/ensure_codegen_up_to_date.py
script:
- tox -c tox-travis.ini
after_success:
- travis_retry codecov --flags codegenunittests --file codegen.xml
- travis_retry codecov --flags nifakeunittests --file nifakeunittest.xml
- travis_retry codecov --flags nidcpowerunittests --file nidcpowerunittest.xml
- travis_retry codecov --flags nidigitalunittests --file nidigitalunittest.xml
- travis_retry codecov --flags nimodinstunittests --file nimodinstunittest.xml
- travis_retry codecov --flags nitclkunittests --file nitclkunittest.xml