forked from mathics/Mathics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (47 loc) · 1.22 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
language: python
python:
- 2.6
- 2.7
- pypy
env:
- SYMPY_SRC=sympy-0.7.3
- SYMPY_SRC=master
matrix:
fast_finish: true
include:
- python: 2.7
env:
- SYMPY_SRC=sympy-0.7.3
- TEST_DOC="true"
allow_failures:
- env: SYMPY_SRC=master
- env:
- SYMPY_SRC=sympy-0.7.3
- TEST_DOC="true"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- if [[ "$TEST_DOC" == "true" ]]; then
sudo apt-get update -qq &&
sudo apt-get install -qq asymptote imagemagick texlive-latex-extra texlive-latex3 texlive-fonts-recommended latexmk;
fi
- pip install --use-mirrors unittest2
- pip install --use-mirrors pexpect
- pip install --use-mirrors git+https://github.com/sympy/sympy.git@$SYMPY_SRC
install:
- if [[ "$TEST_DOC" == "true" ]]; then python setup.py develop; else python setup.py install; fi
script:
- unit2 discover
- python setup.py test
- if [[ "$TEST_DOC" == "true" ]]; then
python mathics/test.py -o &&
python mathics/test.py -t &&
cd mathics/doc/ &&
./images.sh &&
cd tex/ &&
make latex;
else
python mathics/test.py;
fi
notifications:
email: false