travis

package
v0.0.0-...-cf3502d Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2016 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTravisConfig = TravisConfig{
	Language: "go",
	Go:       []string{"1.6"},
	Script: []string{

		"bash build.sh",
	},
	AfterSuccess: []string{
		"echo done",
	},
}

Functions

This section is empty.

Types

type TravisConfig

type TravisConfig struct {
	Language string   `yaml:"language"`
	Go       []string `yaml:"go"`

	Env struct {
		Global []string `yaml:"global"`
	} `yaml:"env"`

	Notifications struct {
		Email struct {
			Recipients []string `yaml:"recipients"`
			OnSuccess  string   `yaml:"on_success"` // change, always, never
			OnFailure  string   `yaml:"on_failure"`
		} `yaml:"email"`
	} `yaml:"notifications"`
	BeforeInstall []string `yaml:"before_install"`
	Script        []string `yaml:"script"`
	AfterSuccess  []string `yaml:"after_success"`
}

Jump to

Keyboard shortcuts

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