forked from pydy/pydy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
25 lines (25 loc) · 961 Bytes
/
.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
language: python
python:
- 2.7
virtualenv:
system_site_packages: true
before_install:
# On Ubuntu 12.04 numpy is at 1.6.1, SciPy is at 0.9.0 and Cython is at
# 0.15.1.
- sudo apt-get install -y -qq libatlas-dev python-numpy python-scipy python-matplotlib cython
- sudo apt-get install -y -qq python-coverage
# Remove the version of NumPy pre-installed into the Travis virtualenv so
# that we test with the system installed version.
- pip uninstall -y numpy
- pip install --no-deps Theano==0.6.0
- pip install sympy==0.7.4.1
# Note that the `make html` command that runs 'build-sphinx' does not work if
# Sphinx is installed with 'apt-get install sphinx'. It can't find the
# numpydoc extension if it is. It must be bypassing virtualenv to the system
# Python.
- pip install sphinx numpydoc
- pip freeze
script:
- nosetests -v --with-coverage --cover-package=pydy
- cd docs && make html && cd ..
- python setup.py install