aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/github/config_test.go')
-rw-r--r--bridge/github/config_test.go4
1 files changed, 4 insertions, 0 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
}