forked from sympy/sympy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
127 lines (127 loc) · 3.01 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
language: python
env:
- TEST_DOCTESTS="true"
- SPLIT="1/2"
- SPLIT="2/2"
python:
- 2.6
- 2.7
- 3.2
- 3.3
matrix:
include:
- python: 2.7
env:
- TEST_GMPY="true"
- TEST_MATPLOTLIB="true"
- TEST_DOCTESTS="true"
- python: 2.7
env:
- TEST_GMPY="true"
- TEST_MATPLOTLIB="true"
- SPLIT="1/3"
- python: 2.7
env:
- TEST_GMPY="true"
- TEST_MATPLOTLIB="true"
- SPLIT="2/3"
- python: 2.7
env:
- TEST_GMPY="true"
- TEST_MATPLOTLIB="true"
- SPLIT="3/3"
- python: 3.3
env:
- TEST_GMPY="true"
- TEST_MATPLOTLIB="true"
- TEST_DOCTESTS="true"
- python: 3.3
env:
- TEST_GMPY="true"
- TEST_MATPLOTLIB="true"
- SPLIT="1/3"
- python: 3.3
env:
- TEST_GMPY="true"
- TEST_MATPLOTLIB="true"
- SPLIT="2/3"
- python: 3.3
env:
- TEST_GMPY="true"
- TEST_MATPLOTLIB="true"
- SPLIT="3/3"
- python: "pypy"
env:
- TEST_DOCTESTS="true"
- python: "pypy"
env:
- SPLIT="1/3"
- python: "pypy"
env:
- SPLIT="2/3"
- python: "pypy"
env:
- SPLIT="3/3"
- python: 2.7
env: TEST_SPHINX="true"
- python: 2.7
env:
- TEST_SLOW="true"
- SPLIT="1/2"
- python: 2.7
env:
- TEST_SLOW="true"
- SPLIT="2/2"
- python: 3.3
env:
- TEST_SLOW="true"
- SPLIT="1/2"
- python: 3.3
env:
- TEST_SLOW="true"
- SPLIT="2/2"
- python: 2.7
env:
- TEST_THEANO="true"
- python: 3.3
env:
- TEST_THEANO="true"
allow_failures:
- python: 3.3 # Dummy value
env:
- TEST_SAGE="true"
before_install:
- 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;
pip install "sphinx==1.1.3";
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:
- if [[ "${TEST_SAGE}" != "true" ]]; then
python setup.py install;
fi
script:
- bin/test_travis.sh
notifications:
email: false