From 6c70a1c220c1011a5b0d6e612dcb67d6dc36e80a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 7 May 2020 15:40:13 +0200 Subject: all: replace TRAVIS env var with CI In preparation to running some tests as github actions. Both Travis and Github define CI env var, while TRAVIS is, well, too Travis-specific. Update #1699 --- pkg/repro/repro_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/repro') diff --git a/pkg/repro/repro_test.go b/pkg/repro/repro_test.go index 37a938313..7cca35370 100644 --- a/pkg/repro/repro_test.go +++ b/pkg/repro/repro_test.go @@ -19,7 +19,7 @@ func initTest(t *testing.T) (*rand.Rand, int) { iters = 100 } seed := time.Now().UnixNano() - if os.Getenv("TRAVIS") != "" { + if os.Getenv( "CI") != "" { seed = 0 // required for deterministic coverage reports } rs := rand.NewSource(seed) -- cgit mrf-deployment