Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 0 additions & 57 deletions .gitignore

This file was deleted.

33 changes: 23 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,24 @@ language: python

sudo: false

python:
- 2.7
- 3.4
- 3.5

env:
- TEST_TARGET=branca_release
- TEST_TARGET=branca_latest
- TEST_TARGET=coding_standards
matrix:
fast_finish: true
include:
- python: 2.7
env: TEST_TARGET=branca_release
- python: 3.5
env: TEST_TARGET=branca_release
- python: 3.5
env: TEST_TARGET=coding_standards
- python: 3.5
env: TEST_TARGET=notebooks
- python: 2.7
env: TEST_TARGET=branca_latest
- python: 3.5
env: TEST_TARGET=branca_latest
allow_failures:
- python: 3.5
env: TEST_TARGET=branca_latest

before_install:
- wget http://bit.ly/miniconda -O miniconda.sh
Expand All @@ -31,7 +40,7 @@ install:

script:
- if [[ $TEST_TARGET == 'branca_release' ]]; then
python setup.py test ;
py.test -vv --ignore=tests/notebooks/test_notebooks.py ;
fi

- if [[ $TEST_TARGET == 'branca_latest' ]]; then
Expand All @@ -42,3 +51,7 @@ script:
- if [[ $TEST_TARGET == 'coding_standards' ]]; then
find . -type f -name "*.py" ! -name 'conf.py' | xargs flake8 --max-line-length=100 ;
fi

- if [[ $TEST_TARGET == 'notebooks' ]]; then
py.test -vv tests/notebooks/test_notebooks.py ;
fi
3 changes: 0 additions & 3 deletions tests/.gitignore

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __call__(self, exporter=None, filename=None):
open(filename, 'w').write(out_nb[0].encode('utf-8'))

class TestNotebooks(object):
_filepath = rootpath.rstrip('/')+'/../examples/'
_filepath = rootpath.rstrip('/') + '/../../examples/'
_nblist = [x for x in os.listdir(_filepath) if x.endswith('.ipynb')]

for fn in TestNotebooks._nblist:
Expand Down
7 changes: 0 additions & 7 deletions tests/plugins/__init__.py

This file was deleted.