ableton / go-travis Goto Github PK
View Code? Open in Web Editor NEWGo library for accessing the Travis CI API
Home Page: https://godoc.org/github.com/Ableton/go-travis
License: BSD 3-Clause "New" or "Revised" License
Go library for accessing the Travis CI API
Home Page: https://godoc.org/github.com/Ableton/go-travis
License: BSD 3-Clause "New" or "Revised" License
@thoas noticed that in it's current state the Authentication is a mutable process. He suggested we could enhance this by creating an AuthenticationProvider interface, implemented a TravisAuthProvider and GithubAuthProvider, to make the authentication process more plain and immutable.
Because of this, this library cannot be used from Google App Engine (which requires using the urlfetch
client).
Because of this file/line, any executable that imports "go-travis" ends up importing "testing" as well, which adds the following to -help
output:
-test.bench string
regular expression to select benchmarks to run
-test.benchmem
print memory allocations for benchmarks
-test.benchtime duration
approximate run time for each benchmark (default 1s)
-test.blockprofile string
write a goroutine blocking profile to the named file after execution
-test.blockprofilerate int
if >= 0, calls runtime.SetBlockProfileRate() (default 1)
-test.count n
run tests and benchmarks n times (default 1)
-test.coverprofile string
write a coverage profile to the named file after execution
-test.cpu string
comma-separated list of number of CPUs to use for each test
-test.cpuprofile string
write a cpu profile to the named file during execution
-test.memprofile string
write a memory profile to the named file after execution
-test.memprofilerate int
if >=0, sets runtime.MemProfileRate
-test.outputdir string
directory in which to write profiles
-test.parallel int
maximum test parallelism (default 8)
-test.run string
regular expression to select tests and examples to run
-test.short
run smaller test suite to save time
-test.timeout duration
if positive, sets an aggregate time limit for all tests
-test.trace string
write an execution trace to the named file after execution
-test.v
verbose: print additional output
The README has a Roadmap section (likely originally taken from go-github):
Roadmap
This library is being initially developed for internal applications at
Ableton. Therefore API methods are implemented in the order that they are
needed by our applications. Eventually, we would like to cover the entire
Travis API, so contributions are of course always welcome.
But the "contributing" link is broken because there's no CONTRIBUTING.md
file in the repo.
It prints out the error message without stopping the testing process with an error exit code!
Build status is red because travis token is now invalid, and integration tests are trying to fetch a private repository.
@thoas suggested that exposing a NewDefaultClient
constructor, pointing to the default travis api url would make users life easier.
Sounds like both a good suggestion and a good idea!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.