Skip to content

Commit

Permalink
Replace sed-ing notebooks with ability to specify kernel.
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed May 23, 2016
1 parent df135bd commit 59f064d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ install:
- cmd: conda list
- cmd: if %PYTHON_VERSION% == 2.7 conda install enum34
- cmd: pip install ".[test]"
- cmd: python -m ipykernel install --user --name devel --display-name "devel"

# Skip .NET project specific build phase.
build: off

test_script:
- cmd: if %PYTHON_VERSION% == 2.7 find examples\notebooks -name "*.ipynb" -exec sed -i -e s/python3/python2/ {} ;
- cmd: python setup.py test --addopts --cov=siphon
- cmd: cd examples/notebooks
- cmd: find . -name "*.ipynb" -print0 | xargs -0 -n1 jupyter nbconvert --execute --ExecutePreprocessor.timeout=120 --inplace
- cmd: find . -name "*.ipynb" -print0 | xargs -0 -n1 jupyter nbconvert --execute --ExecutePreprocessor.timeout=120 --ExecutePreprocessor.kernel_name=devel --inplace
- cmd: cd ../..

after_test:
Expand Down

0 comments on commit 59f064d

Please sign in to comment.