Ignore results from the tox clean up phase

Some temporary files are generated only under certain conditions and
this should not fail tox.


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/ef47c9f5
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/ef47c9f5
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/ef47c9f5

Branch: refs/heads/release-0.6.0
Commit: ef47c9f511b0f5730b0dc417aefa703fd6f974c5
Parents: c7c4da2
Author: Ahmet Altay <[email protected]>
Authored: Fri Mar 10 16:21:17 2017 -0800
Committer: Ahmet Altay <[email protected]>
Committed: Fri Mar 10 17:15:45 2017 -0800

----------------------------------------------------------------------
 sdks/python/tox.ini | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/ef47c9f5/sdks/python/tox.ini
----------------------------------------------------------------------
diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini
index 807fe3f..2ed21c6 100644
--- a/sdks/python/tox.ini
+++ b/sdks/python/tox.ini
@@ -51,11 +51,11 @@ commands =
   pip install -e .[test]
   python apache_beam/examples/complete/autocomplete_test.py
   python setup.py test
-  # Clean up all cython generated files.
-  find apache_beam -type f -name '*.c' -delete
-  find apache_beam -type f -name '*.so' -delete
-  find target/build -type f -name '*.c' -delete
-  find target/build -type f -name '*.so' -delete
+  # Clean up all cython generated files. Ignore if deletion fails.
+  - find apache_beam -type f -name '*.c' -delete
+  - find apache_beam -type f -name '*.so' -delete
+  - find target/build -type f -name '*.c' -delete
+  - find target/build -type f -name '*.so' -delete
 passenv = TRAVIS*
 
 [testenv:py27gcp]

Reply via email to