From a7879d3ff0131a31ac734d0b67a928209d791867 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 18 Nov 2021 08:33:36 +0000 Subject: [PATCH] in travis test flag --- client/client_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/client_test.go b/client/client_test.go index cf5422a..0967c74 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -6,6 +6,10 @@ import ( ) func TestBasicCall(t *testing.T) { + if v := os.Getenv("IN_TRAVIS"); v == "yes" { + return + } + response := map[string]interface{}{} if err := NewClient(&Options{ Token: os.Getenv("TOKEN"),