From f5ac4bb1a3d8c088a19d514b643990e55b0d6d17 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 9 Feb 2017 15:34:12 +0100 Subject: [PATCH] test with nbval on travis --- .travis.yml | 18 ++++++++++++++++++ requirements.txt | 8 ++++++++ 2 files changed, 26 insertions(+) create mode 100644 .travis.yml create mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..39db8c7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: python +sudo: false + +python: + - "3.5" + - "2.7" + +install: + # Travis needs to update pip/setuptools + - pip install --upgrade setuptools pip + # install test plugins + - pip install --upgrade pytest pytest-check-links + - pip install https://github.com/computationalmodelling/nbval/archive/master.zip + # install requirements + - pip install -r requirements.txt + +script: + - pytest --nbval --check-links . diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..014575e --- /dev/null +++ b/requirements.txt @@ -0,0 +1,8 @@ +cython +ipyparallel +ipython >= 4 +matplotlib +notebook +numpy +pandas +sympy