Skip to content

TravicCI

Displays build information for your Travis CI account.

Configuration

This module pulls information from api.travis-ci.com (when pro: true) or api.travis-ci.org (when pro: false).

travisci:
  apiKey: "p0d13*********************************************c3"
  enabled: true
  compact: true
  limit: 8
  sort_by: "id:desc"
  position:
    top: 4
    left: 1
    height: 1
    width: 2
  pro: false
  refreshInterval: 15m

Screenshots

travisci screenshot

Attributes

Name Value
apiKey
Your TravisCI API key. Leave this blank to use the WTF_TRAVIS_API_TOKEN environment variable.
baseURL
Optional Your TravisCI Enterprise API URL.
A valid URL. Can also be set via the WTF_TRAVIS_BASE_URL environment variable.
compact
Optional When true, displays one line per build entry. When false, displays two lines per entry. Default: false
true, false
sort_by
Optional Sortable by: id, created_at, started_at, finished_at, number, append :desc to any attribute to reverse order. The default value is id:desc. See https://developer.travis-ci.com/resource/builds for more information.
pro
Optional Determines whether or not this module will use the Pro version of Travis CI.
true, false

Source Code

https://github.com/wtfutil/wtf/tree/master/modules/travisci