diff --git a/.travis.yml b/.travis.yml
index fd42eaf4ea2fe495a59a05d1b5643a1f56d89c70..fc8940a90bf4175555a1dd940abb7682eb7779f7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -67,7 +67,7 @@ script:
   - pushd bindings/java/ && ant -q dist && popd
   - pushd case-uco/java/ && ant -q && popd
   - make check && if [ -f "tests/test-suite.log" ];then cat tests/test-suite.log; fi ; if [ -f "unit_tests/base/test-suite.log" ];then cat unit_tests/base/test-suite.log; fi
-  - pushd bindings/java/ && ant clean -q && ant dist -q && ant test -q && popd
+  - pushd bindings/java/ && ant -q clean && ant -q dist && ant -q test && popd
   - if test ${TRAVIS_OS_NAME} = "linux"; then
         pushd release && ./release-unix.pl ci && popd;
     fi