Skip to content

Commit 6b2d7d1

Browse files
committed
ENH(TST): actually run all the scripts while testing on travis
1 parent 187c3bc commit 6b2d7d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ install:
2020
- pip install flake8 # eventually worth
2121

2222
script:
23+
# Run tests
2324
- PYTHONPATH=. nosetests -s -v --with-doctest --with-cov --cover-package . --logging-level=INFO -v .
25+
# Actually run all the scripts, contributing to coverage
26+
- bash -c 'failed=""; for f in [^_]*py; do python `which coverage` run -a $f || failed+=" $f"; echo "I: done $f. Exit code $?"; done; [ -z "$failed" ] || { echo "Failed: $failed"; exit 1; }'
2427
# for now failure in flaking is ignored
2528
- flake8 *py || echo "PEP8 the code"
2629

0 commit comments

Comments
 (0)