Travis-CI
With this sensor platform, you will be able to integrate the test build results reported by Travis-CI
Setup
Create a GitHub access token
- read:org
- user:email
- repo_deployment
- repo:status
- write:repo_hook
Configuration
To enable this platform, please add the following to your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file:
# Example configuration.yaml entry
sensor:
- platform: travisci
api_key: YOUR_ACCESS_TOKEN
Configuration Variables
Determine which default branch should be used by the state condition.
Conditions to display in the frontend. If not specified, all conditions below will be enabled by default. The following conditions can be monitored.
Return the state from the latest test job/PR. The conditions can be: ‘passed’, ‘failed’ or ‘started’.