Skip to content

Commit

Permalink
Add ipython notebook tests to Travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
tobgu committed Feb 26, 2017
1 parent 0e190a0 commit e51b90f
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions .cache/v/cache/lastfailed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
language: python

python:
- "3.6"

install:
- pip install -r requirements.txt

Expand All @@ -8,5 +11,5 @@ script:

env:
- TOXENV=py27
- TOXENV=py34
- TOXENV=py36
- TOXENV=pypy
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==2.3.5
pytest
pyrsistent
tox
tox
2 changes: 1 addition & 1 deletion tests/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@

# TODO: Add tests for from ... import ...

pytest.main()
pytest.main()
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
# and then run "tox" from this directory.

[tox]
envlist = py27,py34,pypy
envlist = py27,py36,pypy

[testenv]
deps = pytest
commands = ./run_tests.sh

[testenv:py36]
deps = pytest
nbval
commands = ./run_tests.sh
py.test --nbval tests/test_load_extension.ipynb

0 comments on commit e51b90f

Please sign in to comment.