Commit 0e6015a9 authored by Bruno Pinto's avatar Bruno Pinto

correctly checkout branch on travis install

parent 020c483b
......@@ -58,7 +58,7 @@ end
# Either git clone or curl GET repository.
log blue "Cloning Oh My Fish from remote repository..."
if type git >/dev/null
git clone "https://github.com/$TRAVIS_REPO_SLUG.git" $fish_path
git clone -b $TRAVIS_BRANCH "https://github.com/$TRAVIS_REPO_SLUG.git" $fish_path
else
log yellow "Install git to pull Oh-My-Fish updates"
log white "Downloading remote zip from Github..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment