Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

GitHub release Total downloads Build Status Go Report Code Quality
Become a sponsor Donate Paypal

⚠️ Abandoned project

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

Thanks to everyone for their valuable feedback and contributions.


travis-wait-enhanced is a CLI application written in Go to replace the existing travis_wait bash function (with some enhancements) to prevent Travis CI from thinking a long-running process has stalled.


  • Custom timeout duration
  • Custom interval duration at which to print keep-alive messages
  • Custom formatting options
  • Print command output to stdout/stderr


travis-wait-enhanced binaries are available in releases page.

Choose the archive matching the destination platform and extract travis-wait-enhanced:

$ cd /opt
$ wget -qO- | tar -zxvf - travis-wait-enhanced

After getting the binary, it can be tested with ./travis-wait-enhanced --help or moved to a permanent location.

$ ./travis-wait-enhanced --help
Usage: travis-wait-enhanced <command> ...

Prevent Travis CI from thinking a long-running process has stalled. More info:

  <command> ...    Command to execute.

  --help               Show context-sensitive help.
  --timeout=20m        Timeout for this command.
  --interval=1m        Interval at which to print keep-alive messages.
  --print-name         Print the name of this tool to identify keep-alive messages.
  --print-string="Still running..."
                       Keep-alive message printed in each interval.
  --print-timestamp    Print the current timestamp after each keep-alive message.
  --print-newline      Print a newline character after each keep-alive message.


travis-wait-enhanced [<flags>] <command>

If your command contains flags (e.g. mvn -V install -Pmy-profile) then use -- to indicate the end of the travis-wait-enhanced flags to avoid parsing errors. For example

travis-wait-enhanced --interval=1m --timeout=20m -- mvn -V clean install -Prun-its

To use travis-wait-enhanced in your .travis.yml add :

  # linux
  - |
    wget -qO- "" | tar -zxvf - travis-wait-enhanced
    mv travis-wait-enhanced /home/travis/bin/
    travis-wait-enhanced --version
  # windows
  - |
    curl -LfsS -o /tmp/ ""
    7z x /tmp/ -y -o/usr/bin/ travis-wait-enhanced.exe -r
    travis-wait-enhanced --version

How can I help?

All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by becoming a sponsor on GitHub 👏 or by making a Paypal donation to ensure this journey continues indefinitely! 🚀

Thanks again for your support, it is much appreciated! 🙏


MIT. See LICENSE for more details.