Skip to content

Commit 6f686d3

Browse files
knorth55k-okada
authored andcommitted
fix typo: traivs -> travis
1 parent a372704 commit 6f686d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ function travis_time_start {
77
TRAVIS_START_TIME=$(date +%s%N)
88
TRAVIS_TIME_ID=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 8 | head -n 1)
99
TRAVIS_FOLD_NAME=$1
10-
echo -e "\e[0Ktraivs_fold:start:$TRAVIS_FOLD_NAME"
11-
echo -e "\e[0Ktraivs_time:start:$TRAVIS_TIME_ID"
10+
echo -e "\e[0Ktravis_fold:start:$TRAVIS_FOLD_NAME"
11+
echo -e "\e[0Ktravis_time:start:$TRAVIS_TIME_ID"
1212
set -x # enable debug information
1313
}
1414
function travis_time_end {
1515
set +x # disable debug information
1616
_COLOR=${1:-32}
1717
TRAVIS_END_TIME=$(date +%s%N)
1818
TIME_ELAPSED_SECONDS=$(( ($TRAVIS_END_TIME - $TRAVIS_START_TIME)/1000000000 ))
19-
echo -e "traivs_time:end:$TRAVIS_TIME_ID:start=$TRAVIS_START_TIME,finish=$TRAVIS_END_TIME,duration=$(($TRAVIS_END_TIME - $TRAVIS_START_TIME))\n\e[0K"
20-
echo -e "traivs_fold:end:$TRAVIS_FOLD_NAME"
19+
echo -e "travis_time:end:$TRAVIS_TIME_ID:start=$TRAVIS_START_TIME,finish=$TRAVIS_END_TIME,duration=$(($TRAVIS_END_TIME - $TRAVIS_START_TIME))\n\e[0K"
20+
echo -e "travis_fold:end:$TRAVIS_FOLD_NAME"
2121
echo -e "\e[0K\e[${_COLOR}mFunction $TRAVIS_FOLD_NAME takes $(( $TIME_ELAPSED_SECONDS / 60 )) min $(( $TIME_ELAPSED_SECONDS % 60 )) sec\e[0m"
2222
}
2323

0 commit comments

Comments
 (0)