Skip to content

rjz/go-travis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Client for Travis-CI

Decidedly unofficial client implementation for Travis CI / Travis Pro API.

Build Status

Currently supports minimal CRUD for managing:

  • repository settings
  • environment variables

Need something that isn't here? Contributions are very welcome!

Usage

For travis-ci.org, create a new client with:

token := "xyz" // your travis-ci.org token
tc := travis.NewClient(token)

For Travis Pro (travis-ci.com), create a new client with:

token := "xyz" // your travis-ci.com token
tc := travis.NewProClient(token)

Once the client is configured, jump on the API!

repo, err := tc.GetRepository("rjz", "go-travis")
// etc

License

MIT

About

Unofficial travis-ci client in golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published