Created
May 8, 2015 01:52
-
-
Save miyagawa/d1a0ea5eae25da7841f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$1" = "open" ]; then | |
REPO=`git remote -v | grep origin | perl -nle '/github\.com:(\S*)\.git/ && print $1' | head -1` | |
open "https://travis-ci.org/$REPO" | |
exit | |
fi | |
rbenv exec travis "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment