aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-05-07 15:40:13 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-05-07 15:41:50 +0200
commit6c70a1c220c1011a5b0d6e612dcb67d6dc36e80a (patch)
tree63912998f08cd4579addb29a5e576f14a11dc235 /sys
parent413b991c26fa3ffadb04c4fe199dc3d1e1560232 (diff)
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
Diffstat (limited to 'sys')
-rw-r--r--sys/targets/targets.go2
1 files changed, 1 insertions, 1 deletions
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") != ""
// <algorithm> is included by executor, so we test is as well.
const simpleProg = `