Skip to content

Commit f5ac4bb

Browse files
committed
test with nbval on travis
1 parent b2fa7f8 commit f5ac4bb

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.travis.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: python
2+
sudo: false
3+
4+
python:
5+
- "3.5"
6+
- "2.7"
7+
8+
install:
9+
# Travis needs to update pip/setuptools
10+
- pip install --upgrade setuptools pip
11+
# install test plugins
12+
- pip install --upgrade pytest pytest-check-links
13+
- pip install https://github.com/computationalmodelling/nbval/archive/master.zip
14+
# install requirements
15+
- pip install -r requirements.txt
16+
17+
script:
18+
- pytest --nbval --check-links .

requirements.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
cython
2+
ipyparallel
3+
ipython >= 4
4+
matplotlib
5+
notebook
6+
numpy
7+
pandas
8+
sympy

0 commit comments

Comments
 (0)