mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 12:47:07 +00:00
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
|
||||
|
||||
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" ]
|
||||
|
||||
Reference in New Issue
Block a user