diff options
-rw-r--r-- | bridge/github/config_test.go | 4 | ||||
-rw-r--r-- | misc/zsh_completion/git-bug | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bridge/github/config_test.go b/bridge/github/config_test.go index e04f327c..4feeaa74 100644 --- a/bridge/github/config_test.go +++ b/bridge/github/config_test.go @@ -98,6 +98,10 @@ func TestSplitURL(t *testing.T) { } func TestValidateUsername(t *testing.T) { + if env := os.Getenv("TRAVIS"); env == "true" { + t.Skip("Travis environment: avoiding non authenticated requests") + } + type args struct { username string } diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug index 52c242df..c2ed9872 100644 --- a/misc/zsh_completion/git-bug +++ b/misc/zsh_completion/git-bug @@ -8,7 +8,7 @@ case $state in level1) case $words[1] in git-bug) - _arguments '1: :(add bridge commands comment deselect export label ls ls-id ls-label pull push select show status termui title user version webui)' + _arguments '1: :(add bridge commands comment deselect label ls ls-id ls-label pull push select show status termui title user version webui)' ;; *) _arguments '*: :_files' |