From 88cca77fdb0a34f2b69eb0fecdec142ff89b218a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 25 Dec 2016 15:26:09 +0100 Subject: [PATCH] Travis: use travis_fold function for folds Ref: https://github.com/travis-ci/travis-build/blob/7cac7d393c7487497bf8164f74892aedf15633c5/lib/travis/shell/generator/bash.rb#L109-L116 --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c50c925c..4779b300 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"