Enhance travis run script
This commit is contained in:
parent
8d46ac19ff
commit
897d2c0b75
|
@ -10,12 +10,15 @@ set -o pipefail ## Fail on error in pipe
|
||||||
# Set-up some variables
|
# Set-up some variables
|
||||||
OPJ_SOURCE_DIR=$(cd $(dirname $0)/../.. && pwd)
|
OPJ_SOURCE_DIR=$(cd $(dirname $0)/../.. && pwd)
|
||||||
|
|
||||||
if [ "${TRAVIS_REPO_SLUG:-}" == "uclouvain/openjpeg" ]; then
|
OPJ_DO_SUBMIT=0 # Do not flood cdash
|
||||||
OPJ_SITE="travis-ci.org"
|
if [ "${TRAVIS_REPO_SLUG:-}" != "" ]; then
|
||||||
OPJ_DO_SUBMIT=1
|
OPJ_OWNER=$(echo "${TRAVIS_REPO_SLUG}" | sed 's/\(^.*\)\/.*/\1/')
|
||||||
|
OPJ_SITE="${OPJ_OWNER}.travis-ci.org"
|
||||||
|
if [ "${OPJ_OWNER}" == "uclouvain" ]; then
|
||||||
|
OPJ_DO_SUBMIT=1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
OPJ_SITE="$(hostname)"
|
OPJ_SITE="$(hostname)"
|
||||||
OPJ_DO_SUBMIT=0 # Do not flood cdash
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${TRAVIS_OS_NAME:-}" == "" ]; then
|
if [ "${TRAVIS_OS_NAME:-}" == "" ]; then
|
||||||
|
|
Loading…
Reference in New Issue