forked from ni/nixnet-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (34 loc) · 1.21 KB
/
.travis.yml
File metadata and controls
34 lines (34 loc) · 1.21 KB
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
cache: pip
dist: jammy
language: python
# For pypy versions, see https://github.com/pyenv/pyenv/tree/master/plugins/python-build/share/python-build
# For Travis-supported Python versions, see https://docs.travis-ci.com/user/languages/python/#python-versions
python:
- 3.9
- 3.10
- 3.11
- 3.12
- 3.13
install:
- python -m pip install --upgrade pip
- pip install --upgrade tox-travis
- pip install --upgrade coveralls
- pip install --upgrade --prefer-binary poetry
script:
- tox
# Verify the file is at least valid even if it isn't run.
- tox -c tox-integration.ini -l
after_success:
- coveralls
# Explicitly include the pypy3.9-7.3.9 job since it requires different install steps
jobs:
include:
- python: pypy3.9-7.3.9
install:
- python -m pip install --upgrade pip
- pip install --upgrade tox-travis
- pip install --upgrade coveralls
# poetry-plugin-export is required for Poetry 2.0+ to export a requirements.txt file as a
# workaround for the AsssertionError from cpyext (CPython compatibility layer) issue with
# `poetry install / sync` when using pypy3.9-7.3.9 in Ubuntu Jammy
- pip install --upgrade --prefer-binary poetry poetry-plugin-export