Debian Codegraph @

.travis.yml

raw
1 dist: noble
2 language: python
3
4 matrix:
5 include:
6 - python: '3.9'
7 dist: focal
8 env:
9
10 - python: '3.10'
11 dist: jammy
12 env:
13 - COVERAGE="true"
14 - PANDAS="true"
15 - SQLALCHEMY="true"
16 - H5PY="true"
17
18 - python: '3.11'
19 dist: jammy
20 env:
21
22 - python: '3.12'
23 env:
24
25 - python: '3.13'
26 env:
27
28 - python: '3.14'
29 env:
30 - DILL="master"
31
32 - python: '3.15t-dev'
33 env:
34 - DILL="master"
35
36 - python: 'pypy3.9-7.3.15' # at 7.3.16
37 env:
38
39 - python: 'pypy3.10-7.3.19'
40 env:
41
42 - python: 'pypy3.11-7.3.20'
43 env:
44
45 allow_failures:
46 - python: '3.15t-dev' # prerelease
47 fast_finish: true
48
49 cache:
50 pip: true
51
52 before_install:
53 - set -e # fail on any error
54 - if [[ $COVERAGE == "true" ]]; then pip install coverage; fi
55 - if [[ $PANDAS == "true" ]]; then pip install pandas; fi
56 - if [[ $SQLALCHEMY == "true" ]]; then pip install "sqlalchemy<2.0.0"; fi
57 - if [[ $H5PY == "true" ]]; then pip install h5py; fi
58 - if [[ $DILL == "master" ]]; then pip install "https://github.com/uqfoundation/dill/archive/master.tar.gz"; fi
59
60 install:
61 - python -m pip install .
62
63 script:
64 - for test in klepto/tests/__init__.py; do echo $test ; if [[ $COVERAGE == "true" ]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; done
65 - for test in klepto/tests/test_*.py; do echo $test ; if [[ $COVERAGE == "true" ]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; done
66
67 after_success:
68 - if [[ $COVERAGE == "true" ]]; then bash <(curl -s https://codecov.io/bash); else echo ''; fi
69 - if [[ $COVERAGE == "true" ]]; then coverage report; fi