fix(CI): break on errors in CI scripts (#1504)

- break on errors by adding `set -e` to the CI scripts
- increase build timeout to 2700 seconds (45 minutes)
This commit is contained in:
Stoabrogga
2019-02-20 10:49:05 +01:00
committed by GitHub
parent 4616d22369
commit b434f24611
3 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/bash
set -e
if [ "$TRAVIS_BUILD_ID" = "1" ]
then
export CCOMPILERC="clang-3.8"

View File

@@ -1,5 +1,7 @@
#!/bin/bash
set -e
echo "install OS deps (apt-get)"
bash ./acore.sh "install-deps"

View File

@@ -1,9 +1,11 @@
#!/bin/bash
set -e
echo "compile core"
export CCACHE_CPP2=true
ccache -s
timeout 2580 bash ./acore.sh "compiler" "all"
timeout 2700 bash ./acore.sh "compiler" "all"
ccache -s
if [ "$TRAVIS_BUILD_ID" = "1" ]