-
Notifications
You must be signed in to change notification settings - Fork 45
/
.travis.yml
72 lines (62 loc) · 1.72 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: python
notifications:
email: false
addons:
apt:
packages:
# commented as ubuntu's sundials is too old
#- libsundials-serial-dev
- gfortran
- liblapack-dev
sudo: false
dist: bionic
cache:
directories:
- $HOME/.cache/pip
- $HOME/sundials
matrix:
include:
# needed to work around https://github.com/travis-ci/travis-ci/issues/4794
- python: 3.7
env:
- TOXENV=py37 SUNDIALS_VERSION='5.7.0'
- python: 3.8
env:
- TOXENV=py38 SUNDIALS_VERSION='5.7.0'
- python: 3.9
env:
- TOXENV=py39 SUNDIALS_VERSION='5.7.0'
- python: 3.7
env:
- TOXENV=docs SUNDIALS_VERSION='5.7.0'
- python: 3.7
env:
- TOXENV=check-manifest SUNDIALS_VERSION='5.7.0'
- python: 3.7
env:
- TOXENV=checkreadme SUNDIALS_VERSION='5.7.0'
# Reduced Index Size - this allows use of lapack linsolvers - default is -64
- python: 3.7
env:
- TOXENV=py37 SUNDIALS_VERSION='5.7.0' SUNDIALS_INDEX_SIZE='32'
# Additional precisions - default is 'double'
- python: 3.7
env:
- TOXENV=py37 SUNDIALS_VERSION='5.7.0' SUNDIALS_PRECISION='single'
- python: 3.7
env:
- TOXENV=py37 SUNDIALS_VERSION='5.7.0' SUNDIALS_PRECISION='extended' SUNDIALS_INDEX_SIZE='64'
- python: 3.7
env:
- TOXENV=py37 SUNDIALS_VERSION='5.7.0' SUNDIALS_PRECISION='extended' SUNDIALS_INDEX_SIZE='64'
allow_failures:
- python: 3.7
env:
- TOXENV=py37 SUNDIALS_VERSION='5.7.0' SUNDIALS_PRECISION='single'
install:
- source ci_support/ensure_sundials_installed.sh
- pip install -U pip virtualenv wheel
- pip install "setuptools<=64.0.0"
- pip install -U tox-travis
script:
- tox --workdir $HOME