Skip to content

Commit b45ff35

Browse files
committed
Use new notebook exclusion in treon==0.1.3
This means that we can throw away the workaround we had in `.travis.yml`. Not a super big change, but it feels nice.
1 parent 1087282 commit b45ff35

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,9 @@ install:
1313
- pip install -r test/requirements-dev.txt
1414
- find . -name "requirements.txt" -exec pip install -r "{}" \;
1515

16-
before_script:
17-
# To ignore a directory, we can just delete the directory
18-
# so that treon doesn't see it.
19-
- xargs -t rm -rf < test/ignore
20-
2116
script:
2217
# Test that notebooks run successfully
23-
- treon
18+
- eval "treon $(awk '{printf " --exclude " $0}' test/ignore)"
2419
# Naive test to check that output committed with notebook-
2520
- >- # carefully escaped because yaml is picky
2621
find . -name "*.ipynb" \

0 commit comments

Comments
 (0)