Franck Nijhof 1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00

2.1 KiB

title description logo ha_category ha_release ha_iot_class redirect_from
Travis-CI Sensor Instructions on how to integrate the test build results reported by Travis-CI within Home Assistant. travisci.svg
Sensor
0.56 Cloud Polling
/components/sensor.travisci/

With this sensor platform, you will be able to integrate the test build results reported by Travis-CI working within Home Assistant.

Setup

Create a GitHub access token with the following scopes:

  • read:org
  • user:email
  • repo_deployment
  • repo:status
  • write:repo_hook

Configuration

To enable this platform, please add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: travisci
    api_key: YOUR_ACCESS_TOKEN

{% configuration %} api_key: description: The acces token for GitHub. required: true type: string branch: description: "Determine which default branch should be used by the state condition." required: false default: master type: string monitored_conditions: description: Conditions to display in the frontend. If not specified, all conditions below will be enabled by default. The following conditions can be monitored. required: false type: list keys: last_build_id: description: Turn the last build job ID. last_build_duration: description: Return the time elapsed in seconds to run the last test job. last_build_finished_at: description: Return the timestamp of when the last test job finished. last_build_started_at: description: Return the timestamp of when the last test job started. last_build_state: description: "Return the state from the latest test job/PR. The conditions can be: 'passed', 'failed' or 'started'." state: description: "Return the build test from the branch specified at by branch parameter." repository: description: Name from the GitHub repositories to be monitored. If not specified, all GitHub repositories linked to Travis-CI will be enabled by default. required: false type: list {% endconfiguration %}