diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-05-07 15:40:13 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-07 15:41:50 +0200 |
| commit | 6c70a1c220c1011a5b0d6e612dcb67d6dc36e80a (patch) | |
| tree | 63912998f08cd4579addb29a5e576f14a11dc235 /prog/export_test.go | |
| parent | 413b991c26fa3ffadb04c4fe199dc3d1e1560232 (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 'prog/export_test.go')
| -rw-r--r-- | prog/export_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/export_test.go b/prog/export_test.go index a6cdf358e..617c982a9 100644 --- a/prog/export_test.go +++ b/prog/export_test.go @@ -25,7 +25,7 @@ var ( func randSource(t *testing.T) rand.Source { seed := time.Now().UnixNano() - if os.Getenv("TRAVIS") != "" { + if os.Getenv( "CI") != "" { seed = 0 // required for deterministic coverage reports } t.Logf("seed=%v", seed) |
