[CI] Cleanup logfile before tutorial runs (#4896)
authorTianqi Chen <tqchen@users.noreply.github.com>
Sun, 16 Feb 2020 23:02:39 +0000 (15:02 -0800)
committerGitHub <noreply@github.com>
Sun, 16 Feb 2020 23:02:39 +0000 (15:02 -0800)
tests/scripts/task_python_docs.sh

index 951d1a3..d463a61 100755 (executable)
@@ -27,6 +27,9 @@ rm -rf docs/_build/html/javadoc
 rm -rf docs/tutorials
 rm -rf docs/vta/tutorials
 
+# cleanup stale log files
+find . -type f -path "*.log" | xargs rm -f
+
 # C++ doc
 make doc