Make the -x option conditionnal for all travis scripts.

This commit is contained in:
Maxime Gimeno 2018-05-22 16:12:35 +02:00 committed by Laurent Rineau
parent c45d2fa1e7
commit 5bb6622eab
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
set -x
[ -n "$CGAL_DEBUG_TRAVIS" ] && set -x
DONE=0
while [ $DONE = 0 ]
do

View File

@ -25,7 +25,7 @@ before_script:
- cd ..
script:
- cd ./.travis
- bash -x -e ./build_package.sh $PACKAGE
- if [ -n "$CGAL_DEBUG_TRAVIS" ]; then bash -x -e ./build_package.sh $PACKAGE; else bash -e ./build_package.sh $PACKAGE; fi
notifications:
email:
on_success: change # default: always

View File

@ -1,6 +1,6 @@
#This script must be called from the CGAL root.
set -e
set -x
[ -n "$CGAL_DEBUG_TRAVIS" ] && set -x
while test $# -gt 0
do
case "$1" in