Tweak Travis script invocation
Display TRAVIS_COMMIT information and move the set -x into the script (after the echoing of status variables).master
parent
7e79186a12
commit
8ac6fab4a8
|
@ -17,7 +17,7 @@ sudo: false
|
|||
language: c
|
||||
git:
|
||||
submodules: false
|
||||
script: bash -ex tools/ci/travis/travis-ci.sh
|
||||
script: bash -e tools/ci/travis/travis-ci.sh
|
||||
matrix:
|
||||
include:
|
||||
- env: CI_KIND=build XARCH=i386
|
||||
|
|
|
@ -14,10 +14,6 @@
|
|||
#* *
|
||||
#**************************************************************************
|
||||
|
||||
PREFIX=~/local
|
||||
|
||||
MAKE=make SHELL=dash
|
||||
|
||||
# TRAVIS_COMMIT_RANGE has the form <commit1>...<commit2>
|
||||
# TRAVIS_CUR_HEAD is <commit1>
|
||||
# TRAVIS_PR_HEAD is <commit2>
|
||||
|
@ -33,6 +29,14 @@ MAKE=make SHELL=dash
|
|||
# TRAVIS_MERGE_BASE
|
||||
#
|
||||
echo TRAVIS_COMMIT_RANGE=$TRAVIS_COMMIT_RANGE
|
||||
echo TRAVIS_COMMIT=$TRAVIS_COMMIT
|
||||
|
||||
set -x
|
||||
|
||||
PREFIX=~/local
|
||||
|
||||
MAKE=make SHELL=dash
|
||||
|
||||
TRAVIS_CUR_HEAD=${TRAVIS_COMMIT_RANGE%%...*}
|
||||
TRAVIS_PR_HEAD=${TRAVIS_COMMIT_RANGE##*...}
|
||||
case $TRAVIS_EVENT_TYPE in
|
||||
|
|
Loading…
Reference in New Issue