Travis: use travis_fold function for folds

Ref: 7cac7d393c/lib/travis/shell/generator/bash.rb (L109-L116)
This commit is contained in:
Daniel Hahler 2016-12-25 15:26:09 +01:00
parent 3f9da4269d
commit 88cca77fdb
1 changed files with 2 additions and 4 deletions

View File

@ -115,13 +115,11 @@ install:
# Functions for custom Travis folds.
- |
travis_fold_start() {
echo -n "travis_"
echo "fold:start:$1"
travis_fold start "$1"
travis_fold_current="$1"
}
travis_fold_end() {
echo -n "travis_"
echo "fold:end:$travis_fold_current"
travis_fold end "$travis_fold_current"
}
travis_run_in_fold() {
travis_fold_start "$1"