Skip to content

Commit 3275f77

Browse files
committed
Make sure repository does not contain symlink
1 parent fe2502d commit 3275f77

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.travis.yml

+11
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ install:
5353

5454
script:
5555
- jupyter kernelspec list
56+
- |
57+
symlinks=$(find . -type l| grep -v './node_modules/' | grep -v './git-hooks')
58+
if [[ $(echo $symlinks) ]]; then
59+
echo "Repository contains symlinks which won't work on windows:"
60+
echo $symlinks
61+
echo ""
62+
false
63+
else
64+
true
65+
fi
5666
- 'if [[ $GROUP == js* ]]; then travis_retry python -m notebook.jstest ${GROUP:3}; fi'
5767
- 'if [[ $GROUP == python ]]; then nosetests -v --with-coverage --cover-package=notebook notebook; fi'
5868
- |
@@ -64,6 +74,7 @@ script:
6474
exit $EXIT_STATUS
6575
fi
6676
77+
6778
matrix:
6879
include:
6980
- python: 3.4

0 commit comments

Comments
 (0)