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:
parent
4616d22369
commit
b434f24611
3 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$TRAVIS_BUILD_ID" = "1" ]
|
||||
then
|
||||
export CCOMPILERC="clang-3.8"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "install OS deps (apt-get)"
|
||||
bash ./acore.sh "install-deps"
|
||||
|
||||
|
|
|
|||
|
|
@ -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" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue