1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
wtf/_site/content/posts/modules/travisci.md
Anand Sudhir Prayaga 568276343c Make the travisci module interactive
* Add ability to select and open builds
* Add commit message (oneline style) to text displayed in the widget
* Add documentation on the new keyboard shortcuts
* Cleanup some duplicate code
2018-08-03 15:42:24 +02:00

1.8 KiB

title, date, draft
title date draft
TravisCI 2018-07-18T14:36:08-04:00 false

Added in v0.0.12.

Displays build information for your Travis CI account.

travisci screenshot

Source Code

wtf/travisci/

Keyboard Commands

Key: [return]
Action: Open the selected build in the browser.

Key: j
Action: Select the next build in the list.

Key: k
Action: Select the previous build in the list.

Key: r
Action: Refresh the data.

Key:
Action: Select the next build in the list.

Key:
Action: Select the previous build in the list.

Configuration

travisci:
  apiKey: "3276d7155dd9ee27b8b14f8743a408a9"
  enabled: true
  position:
    top: 4
    left: 1
    height: 1
    width: 2
  pro: false
  refreshInterval: 900

Attributes

apiKey
Value: Your Travis CI API access token.

enabled
Determines whether or not this module is executed and if its data displayed onscreen.
Values: true, false.

position
Defines where in the grid this module's widget will be displayed.

refreshInterval
How often, in seconds, this module will update its data.
Values: A positive integer, 0..n.

pro
Determines whether or not this module will use the Pro version of Travis CI.
Values: true, false.