CI: Travis: build.sh: add: BUILD_PROJECT function around build processes

M  build.sh
This commit is contained in:
Anton-Latukha 2020-05-28 00:57:48 +03:00
parent 8f77f35349
commit f4a0e64b07
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41

View File

@ -2,6 +2,7 @@
# NOTE: Script for the CI builds. CI comes here from `.travis.yml`
BUILD_PROJECT(){
set -xe
set -euo pipefail
IFS=$'\n\t'
@ -41,6 +42,8 @@ allowInconsistentDependencies=${allowInconsistentDependencies:-'false'}
ghcjsTmpLogFile=${ghcjsTmpLogFile:-'/tmp/ghcjsTmpLogFile.jog'}
ghcjsLogTailLength=${ghcjsLogTailLength:-'10000'}
}
MAIN() {
# NOTE: Secrets are not shared to PRs from forks