package
Version:
v0.12.1-0...-d7b68d0
Opens a new window with list of versions in this module.
Published: Jul 1, 2023
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ci implements some helper functions to use during
tests. Many times certain facilities are not available, or tests
must run differently.
Env returns the value of a CI env variable.
IsRunning attempts to determine whether this process is running on CI.
Returns whether FUSE is explicitly disabled wiht TEST_NO_FUSE.
Returns whether TEST_VERBOSE is enabled.
EnvVar is a type to use travis-only env var names with
the type system.
const (
VarCI EnvVar = "CI"
VarNoFuse EnvVar = "TEST_NO_FUSE"
VarVerbose EnvVar = "TEST_VERBOSE"
)
Environment variables that TravisCI uses.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.