Browse Source

Try to fix #224 - Make build-installers break the build if it fails

MeFisto94 5 years ago
parent
commit
77995cf411
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml

@@ -66,6 +66,7 @@ before_deploy:
   
   
   # Force Freeing Space.
   # Force Freeing Space.
   - rm -rf build/
   - rm -rf build/
+  - set -o pipefail # Allow failing in ant to be up-propagated
   - ant -Dstorepass="$NBM_SIGN_PASS" -Dpack200.enabled=true set-spec-version build-installers unset-spec-version | awk '{printf("."); fflush(stdout)}'
   - ant -Dstorepass="$NBM_SIGN_PASS" -Dpack200.enabled=true set-spec-version build-installers unset-spec-version | awk '{printf("."); fflush(stdout)}'
   
   
   # Has to be done before deploy (due to the rm command)
   # Has to be done before deploy (due to the rm command)