Skip to content

Commit

Permalink
test travis fold
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrey4l committed Nov 25, 2018
1 parent d1e3ceb commit 7c6b34d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ script:
- sudo apt-get install -y lxc lxc-templates debootstrap lxc-dev
- pip install ansible
- pip install -r test-requirements.txt
- ./.travis/travis_fold.sh start test
- sudo -E molecule test -s lxc
- ./.travis/travis_fold.sh end test
9 changes: 9 additions & 0 deletions .travis/travis_fold.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

travis_fold(){
local action=$1
local name=$2
echo -en "travis_fold:${action}:${name}\\r"
}

travis_fold $1 $2

0 comments on commit 7c6b34d

Please sign in to comment.