From 63131f1bf2feecf37ff15c91146b45a053ce7485 Mon Sep 17 00:00:00 2001 From: Marc Bruggmann Date: Tue, 4 Jul 2017 17:47:14 +0200 Subject: [PATCH] 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 --- .travis.yml | 11 +++++++++++ python/requirements.txt | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 .travis.yml create mode 100644 python/requirements.txt diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6692785 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/python/requirements.txt b/python/requirements.txt new file mode 100644 index 0000000..334c7cc --- /dev/null +++ b/python/requirements.txt @@ -0,0 +1,5 @@ +Cython>=0.22 +pystan>=2.14 +numpy>=1.10.0 +pandas>=0.18.1 +matplotlib>=2.0.0