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 --- sys/targets/targets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/targets/targets.go b/sys/targets/targets.go index e9450809d..61b5d298f 100644 --- a/sys/targets/targets.go +++ b/sys/targets/targets.go @@ -547,7 +547,7 @@ func checkFlagSupported(target *Target, flag string) bool { return cmd.Run() == nil } -var runningOnCI = os.Getenv("TRAVIS") != "" +var runningOnCI = os.Getenv( "CI") != "" // is included by executor, so we test is as well. const simpleProg = ` -- cgit mrf-deployment