diff --git a/scripts/travis b/scripts/travis
index 348748d6c7866c4c99cddafef3ce44a8e6ffd75c..f7213886be24f60aa955c9cd8c779914dd6335d5 100755
--- a/scripts/travis
+++ b/scripts/travis
@@ -56,8 +56,7 @@ echo "theme: material" >> mkdocs.yml
 # Test Docker image build
 docker run --rm -it -v `pwd`:/docs $TRAVIS_REPO_SLUG build
 
-# Clean build test
-rm -rf /tmp/test
+# Return to original directory
 popd
 
 # Push release to PyPI