Socket
Socket
Sign inDemoInstall

hubot-travis-ci

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hubot-travis-ci

Hubot script for interacting with Travis CI


Version published
Weekly downloads
6
increased by500%
Maintainers
1
Install size
351 kB
Created
Weekly downloads
 

Readme

Source

hubot-travis-ci

A hubot script used to interact with Travis CI.

Work with both Travis CI for open source and Travis Pro for private projects.

Installation

npm install hubot-travis-ci --save

Add "hubot-travis-ci" to external-scripts.json.

Configuration

HUBOT_TRAVIS_ACCESS_TOKEN - API key
HUBOT_TRAVIS_API_HOST - "https://api.travis-ci.com" or "https://api.travis-ci.org"
HUBOT_TRAVIS_ORGNAME - Organization, user, or project name
HUBOT_TRAVIS_URL - "https://<host>.travis-ci.com" or "https://travis-ci.org"

The Travis integration token is semi-secret. Use the official ruby client to generate an encrypted token.

Commands

hubot travis restart <repo> - Restart a travis build
hubot travis cancel <repo> - Cancel a travis build

Notes

This script was originally built for the Slack hubot integration. To get build notifications posted back into Slack setup the existing Travis CI integration.

Refer to the Travis CI API docs.

Keywords

FAQs

Last updated on 22 Oct 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc