forked from ni/nimi-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (34 loc) · 1.3 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
31
32
33
34
35
36
37
group: travis_latest
language: python
matrix:
include:
# We run Python 3.8 based tests towards the start. This is where additional tests are run so we give it more time
- python: 3.8
dist: xenial
sudo: true
# End Python 3.8 based tests
- python: 3.5
- python: 3.6
# Python 3.7+ needs OpenSSL 1.0.2+ which isn't supported on trusty - use xenial and sudo: true based on workarounds
# in Travis issues (this is from multiple issues)
- python: 3.7
dist: xenial
sudo: true
# - python: nightly
# dist: xenial
# sudo: true
# No prerelease tests at this point
# allow_failures:
# Allow tests using under development builds of Python to fail without failing the PR/change
# - python: nightly
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
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 nimodinstunittests --file nimodinstunittest.xml
- travis_retry codecov --flags nitclkunittests --file nitclkunittest.xml