diff --git a/bridge/github/config_test.go b/bridge/github/config_test.go index e04f327c79708730ed10a7d1f1c7e7caf847b4b5..4feeaa7408cfe6983de6ff3688081b94ebaf01eb 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 52c242dfbaef7ab86f380f6f580eed300f8ad8f7..c2ed9872aae98af3cce28fd78516939abc6c33bd 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'