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:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ "$TRAVIS_BUILD_ID" = "1" ]
|
if [ "$TRAVIS_BUILD_ID" = "1" ]
|
||||||
then
|
then
|
||||||
export CCOMPILERC="clang-3.8"
|
export CCOMPILERC="clang-3.8"
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "install OS deps (apt-get)"
|
echo "install OS deps (apt-get)"
|
||||||
bash ./acore.sh "install-deps"
|
bash ./acore.sh "install-deps"
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "compile core"
|
echo "compile core"
|
||||||
export CCACHE_CPP2=true
|
export CCACHE_CPP2=true
|
||||||
ccache -s
|
ccache -s
|
||||||
timeout 2580 bash ./acore.sh "compiler" "all"
|
timeout 2700 bash ./acore.sh "compiler" "all"
|
||||||
ccache -s
|
ccache -s
|
||||||
|
|
||||||
if [ "$TRAVIS_BUILD_ID" = "1" ]
|
if [ "$TRAVIS_BUILD_ID" = "1" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user