package
Version:
v0.4.3-rc2
Opens a new window with list of versions in this module.
Published: Aug 4, 2016
License: MIT
Opens a new window with license information.
Imports: 2
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.
func Env(v EnvVar) string
Env returns the value of a CI env variable.
IsRunning attempts to determine whether this process is
running on CI. This is done by checking any of:
CI=true
travis.IsRunning()
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
¶
Directories
¶
Package travis implements some helper functions to use during tests.
|
Package travis implements some helper functions to use during tests. |
Click to show internal directories.
Click to hide internal directories.