+++ /dev/null
-#!/bin/bash
-RED='\033[0;31m'
-NC='\033[0m' # No Color
-
-echo "start the clock"
-while [ ! -f stop ]; do
- #echo "File not found!"
- seconds=60; date1=$((`date +%s` + $seconds));
- while [ "$date1" -ge `date +%s` ]; do
- #echo -ne "$(date -u --date @$(($date1 - `date +%s` )) +%H:%M:%S)\r"; > /dev/null
- : #busy wait
- done
- printf "${RED}############# `date` ############${NC}\n"
-done
}
configureTravis
+function keep_alive() {
+ while true; do
+ echo -en "foo"
+ sleep 5
+ done
+}
+keep_alive &
+
# When a pull request is open on the branch, then the job related
# to the branch does not need to be executed and should be canceled.
# It does not book slaves for nothing.
export PULL_REQUEST_NUMBER=$TRAVIS_PULL_REQUEST
fi
-# Hack to keep job alive even if no logs during more than 10 minutes.
-# That can occur when uploading sonarqube.zip to Artifactory.
-./travis-clock.sh &
-
case "$TARGET" in
BUILD)
esac
-#stop the clock
-touch stop