forked from sympy/sympy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
136 lines (136 loc) · 3.58 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
language: python
env:
matrix:
- TEST_DOCTESTS="true" FASTCACHE="false"
- SPLIT="1/4"
- SPLIT="2/4"
- SPLIT="3/4"
- SPLIT="4/4"
global:
secure: "SyoeHaDi9vRPJ5X0JFY5/nQif66u+fehtqUg7F8ILoNrwugJcs+u4VZm1sJ7Cv2h6uGoNRAfkkrahxxj2mKCgpqbY2MdDAZ+ru5wn5R0NjYjTpEz7ET4Xq5o+gca+mhFMkiutYihM73+AaIKCX0vfC9yb8WBPXzbbrv8vVvQr6Y="
python:
- 2.6
- 2.7
- 3.2
- 3.3
- 3.4
matrix:
include:
- python: 2.7
env:
- TEST_GMPY="true" TEST_MATPLOTLIB="true"
- python: 3.4
env:
- TEST_GMPY="true" TEST_MATPLOTLIB="true"
- python: "pypy"
env:
- TEST_DOCTESTS="true"
- FASTCACHE="false"
- python: "pypy"
env:
- SPLIT="1/4"
- FASTCACHE="false"
- python: "pypy"
env:
- SPLIT="2/4"
- FASTCACHE="false"
- python: "pypy"
env:
- SPLIT="3/4"
- FASTCACHE="false"
- python: 2.7
env: TEST_SPHINX="true" FASTCACHE="false"
- python: 2.7
env:
- TEST_SLOW="true"
- SPLIT="1/2"
- python: 2.7
env:
- TEST_SLOW="true"
- SPLIT="2/2"
- python: 3.4
env:
- TEST_SLOW="true"
- SPLIT="1/2"
- python: 3.4
env:
- TEST_SLOW="true"
- SPLIT="2/2"
- python: 2.7
env:
- TEST_THEANO="true"
- python: 3.4
env:
- TEST_THEANO="true"
- python: 2.7
env:
- TEST_AUTOWRAP="true"
virtualenv:
system_site_packages: true
- python: 2.7
env:
- TEST_ASCII="true"
- python: 3.4
env:
- TEST_ASCII="true"
allow_failures:
- python: 3.3 # Dummy value
env:
- TEST_SAGE="true"
- FASTCACHE="false"
- python: "pypy"
env:
- SPLIT="4/4"
before_install:
- if [[ "${FASTCACHE}" != "false" ]]; then
pip install fastcache;
fi
- if [[ "${TEST_AUTOWRAP}" == "true" ]]; then
pip uninstall -y numpy;
sudo apt-get update;
sudo apt-get install gfortran gcc python-numpy cython;
fi
- if [[ "${TEST_GMPY}" == "true" ]]; then
sudo apt-get update;
sudo apt-get install libgmp-dev;
pip install "gmpy==1.16";
fi
- if [[ "${TEST_SPHINX}" == "true" ]]; then
sudo apt-get update;
sudo apt-get install --no-install-recommends graphviz inkscape texlive texlive-xetex texlive-fonts-recommended texlive-latex-extra lmodern librsvg2-bin imagemagick docbook2x;
pip install "sphinx==1.3.1";
fi
- if [[ "${TEST_MATPLOTLIB}" == "true" ]]; then
pip install "numpy==1.7.1";
pip install --allow-external "matplotlib==1.2.1";
fi
- if [[ "${TEST_THEANO}" == "true" ]]; then
sudo apt-get update;
sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran;
pip install "numpy==1.7.1";
pip install "scipy==0.12.0";
pip install --no-deps https://github.com/Theano/Theano/archive/rel-0.6.zip;
fi
- if [[ "${TEST_SAGE}" == "true" ]]; then
sudo apt-add-repository -y ppa:aims/sagemath;
sudo apt-get update;
sudo apt-get install sagemath-upstream-binary;
fi
install:
#The install cycle below is to test installation on systems without setuptools.
- if [[ "${TEST_AUTOWRAP}" == "true" ]]; then
pip uninstall -y setuptools;
python setup.py install;
pip uninstall -y sympy;
pip install setuptools;
python setup.py install;
elif [[ "${TEST_SAGE}" != "true" ]]; then
python setup.py install;
fi
script:
- bin/test_travis.sh
# - if [[ "${TEST_SPHINX}" == "true" ]]; then
# bin/deploy_doc.sh;
# fi
notifications:
email: false