Skip to content

Commit 8e4c0bf

Browse files
authored
Merge pull request #3128 from takluyver/i3127
Pin to ipykernel 4.6.1 on Python 2 to avoid kernelspec issue
2 parents ae011a1 + 56677f9 commit 8e4c0bf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ language: python
44
cache:
55
directories:
66
- $HOME/.cache/bower
7+
- $HOME/.cache/pip
78
python:
89
- 3.6
910
- 2.7
@@ -42,10 +43,16 @@ before_install:
4243
4344
install:
4445
- pip install -f travis-wheels/wheelhouse file://$PWD#egg=notebook[test]
46+
- |
47+
if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
48+
# Work around https://github.com/ipython/ipykernel/issues/288
49+
pip install ipykernel==4.6.1
50+
fi
4551
- wget https://github.com/jgm/pandoc/releases/download/1.19.1/pandoc-1.19.1-1-amd64.deb && sudo dpkg -i pandoc-1.19.1-1-amd64.deb
4652

4753

4854
script:
55+
- jupyter kernelspec list
4956
- 'if [[ $GROUP == js* ]]; then travis_retry python -m notebook.jstest ${GROUP:3}; fi'
5057
- 'if [[ $GROUP == python ]]; then nosetests -v --with-coverage --cover-package=notebook notebook; fi'
5158
- |

0 commit comments

Comments
 (0)