Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
Build: Update prepare-travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
Alxandr committed Jun 1, 2017
1 parent 710956e commit a4bbb5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/prepare-travis.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
if ! [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
git checkout -B "pr-$TRAVIS_PULL_REQUEST"
elif [[ "$(git rev-parse --abbrev-ref HEAD)" == "HEAD" ]]; then
git checkout -B "$TRAVIS_BRANCH"
fi

0 comments on commit a4bbb5d

Please sign in to comment.