Set up Travis to run the python tests. (#160)

* Set up Travis to run the python tests.

* np.matmul requires Numpy 1.10.0

* Extract python dependencies into requirements.txt
This commit is contained in:
Marc Bruggmann 2017-07-04 17:47:14 +02:00 committed by Ben Letham
parent 03d3ec9f2e
commit 63131f1bf2
2 changed files with 16 additions and 0 deletions

11
.travis.yml Normal file
View file

@ -0,0 +1,11 @@
language: python
python:
- "2.7"
- "3.6"
install:
- pip install --upgrade pip
- pip install -U -r python/requirements.txt
script:
- cd python && python setup.py develop test

5
python/requirements.txt Normal file
View file

@ -0,0 +1,5 @@
Cython>=0.22
pystan>=2.14
numpy>=1.10.0
pandas>=0.18.1
matplotlib>=2.0.0