Skip to content

colesbury/travis-remote-shell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Connect to Travis-CI via Remote Shell

Build Status

What is This?

Sometimes builds on Travis-CI fail for inexplicable reasons. In cases like this, debugging the problem can be very time-consuming. Instead of having to replicate a Travis-CI worker locally, this script helps to connect to a real Travis-CI worker remotely in order to be able to execute command-line tools for debugging purposes.

How to Use

Obtain an authtoken from https://ngrok.com/dashboard.

Create a new branch and add the following lines to your .travis.xml:

env: NGROK_TOKEN=*your ngrok token*
before_install:
  - eval "$(curl -sL https://raw.github.com/fniephaus/travis-remote-shell/master/run.sh)"

Search your Travis-CI log for a line like this and determine the port:

[01/10/15 00:59:22] [INFO] [client] Tunnel established at tcp://ngrok.com:36409

Open your local terminal and run:

nc ngrok.com 36409

Credits

This script utilizes ngrok.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%