Copyright | (c) Tomas Tauber, 2015 |
---|---|
License | MIT |
Maintainer | Tomas Tauber <tomtau@hku.hk> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
A simple client implementation using Travis CI API: http://docs.travis-ci.com/api/.
- type AccountName = String
- type RepositoryName = String
- travisAPIBaseURL :: String
- requestH :: [(HeaderName, ByteString)]
- fetchRepository :: AccountName -> RepositoryName -> IO (Maybe RepositoryRaw, Maybe [BuildRaw])
Documentation
type AccountName = String Source
type RepositoryName = String Source
travisAPIBaseURL :: String Source
Travis CI base API URL
requestH :: [(HeaderName, ByteString)] Source
Travis CI API v2 headers
fetchRepository :: AccountName -> RepositoryName -> IO (Maybe RepositoryRaw, Maybe [BuildRaw]) Source
fetches information about public repository on Travis CI may return a tuple of repository and its builds information