travis

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2018 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Language         string
	Version          []string
	BeforeInstall    []string
	Install          []string
	BeforeScript     []string
	Script           []string
	Env              []string
	DockerfileConfig string
}

Config represents values from a '.travis.yml' file. Config options are represented with a slice of strings. If the slice is nil, then the config option was not specified in the yml file. If there was only a single value, it will be the only member in the slice.

func ConfigFromFile

func ConfigFromFile(filepath string) (*Config, error)

ConfigFromFile creates a config from a file path to '.travis.yml'

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL