From 3275f77fd467349657f135851ca69cac3b77dce5 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Wed, 17 Jan 2018 07:16:39 -0800 Subject: [PATCH] Make sure repository does not contain symlink --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index 85352bbed..eced5dfee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,6 +53,16 @@ install: script: - jupyter kernelspec list + - | + symlinks=$(find . -type l| grep -v './node_modules/' | grep -v './git-hooks') + if [[ $(echo $symlinks) ]]; then + echo "Repository contains symlinks which won't work on windows:" + echo $symlinks + echo "" + false + else + true + fi - 'if [[ $GROUP == js* ]]; then travis_retry python -m notebook.jstest ${GROUP:3}; fi' - 'if [[ $GROUP == python ]]; then nosetests -v --with-coverage --cover-package=notebook notebook; fi' - | @@ -64,6 +74,7 @@ script: exit $EXIT_STATUS fi + matrix: include: - python: 3.4