|
1 | | -dist: trusty |
2 | | -sudo: false |
| 1 | +dist: focal |
3 | 2 | language: python |
| 3 | + |
4 | 4 | notifications: |
5 | 5 | email: false |
6 | | -matrix: |
7 | | - include: |
8 | | - - python: 3.5 |
9 | | - - python: 3.6 |
10 | | - - python: 3.7 |
11 | | - dist: xenial |
12 | | - sudo: required |
13 | | - - python: 3.8 |
14 | | - dist: xenial |
15 | | - sudo: required |
16 | | - - python: 3.9 |
17 | | - dist: xenial |
18 | | - sudo: required |
19 | | - - python: 3.11 |
20 | | - dist: xenial |
21 | | - sudo: required |
| 6 | + |
| 7 | +python: |
| 8 | + - "3.9" |
| 9 | + - "3.10" |
| 10 | + - "3.11" |
| 11 | + - "3.12" |
| 12 | + - "3.13" |
| 13 | + |
22 | 14 | env: |
23 | 15 | global: |
24 | | - - CFLAGS=-coverage |
25 | | - - LDFLAGS=-coverage -lgcov |
26 | | - - PYXMLSEC_TEST_ITERATIONS=50 |
| 16 | + - CFLAGS=-coverage |
| 17 | + - LDFLAGS=-coverage -lgcov |
| 18 | + - PYXMLSEC_TEST_ITERATIONS=50 |
27 | 19 |
|
28 | 20 | addons: |
29 | 21 | apt: |
30 | 22 | packages: |
31 | | - - libssl-dev |
32 | | - - libxmlsec1 |
33 | | - - libxmlsec1-dev |
34 | | - - libxmlsec1-openssl |
35 | | - - libxslt1-dev |
36 | | - - pkg-config |
37 | | - - lcov |
| 23 | + - libssl-dev |
| 24 | + - libxmlsec1 |
| 25 | + - libxmlsec1-dev |
| 26 | + - libxmlsec1-openssl |
| 27 | + - libxslt1-dev |
| 28 | + - pkg-config |
| 29 | + - lcov |
| 30 | + |
38 | 31 | install: |
39 | | -- travis_retry pip install --upgrade pip setuptools wheel |
40 | | -- travis_retry pip install coverage -r requirements-test.txt --upgrade --force-reinstall |
41 | | -- python setup.py bdist_wheel |
42 | | -- pip install xmlsec --only-binary=xmlsec --no-index --find-links=dist/ |
43 | | -script: coverage run -m pytest -v tests --color=yes |
| 32 | + - travis_retry pip install --upgrade pip setuptools wheel |
| 33 | + - travis_retry pip install coverage -r requirements-test.txt --upgrade --force-reinstall |
| 34 | + - python setup.py bdist_wheel |
| 35 | + - pip install xmlsec --only-binary=xmlsec --no-index --find-links=dist/ |
| 36 | + |
| 37 | +script: |
| 38 | + - coverage run -m pytest -v tests --color=yes |
| 39 | + |
44 | 40 | after_success: |
45 | | -- lcov --capture --no-external --directory . --output-file coverage.info |
46 | | -- lcov --list coverage.info |
47 | | -- bash <(curl -s https://codecov.io/bash) -f coverage.info |
| 41 | + - lcov --capture --no-external --directory . --output-file coverage.info |
| 42 | + - lcov --list coverage.info |
| 43 | + - bash <(curl -s https://codecov.io/bash) -f coverage.info |
| 44 | + |
48 | 45 | before_deploy: |
49 | | -- travis_retry pip install Sphinx -r doc/source/requirements.txt |
50 | | -- git apply --verbose --no-index --unsafe-paths --directory=$(python -c "import site; print(site.getsitepackages()[0])") doc/source/sphinx-pr-6916.diff |
51 | | -- sphinx-build -EWanb html doc/source build/sphinx |
| 46 | + - travis_retry pip install Sphinx -r doc/source/requirements.txt |
| 47 | + - git apply --verbose --no-index --unsafe-paths --directory=$(python -c "import site; print(site.getsitepackages()[0])") doc/source/sphinx-pr-6916.diff |
| 48 | + - sphinx-build -EWanb html doc/source build/sphinx |
0 commit comments