/travis-wait-improved

A tool to help long-running, yet reticent, processes avoid death at the hands of Traivs-CI.

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

travis-wait-improved 👷🏻‍⏲👍

GitHub Build Status Coverage Status Total alerts Language grade: Python Known Vulnerabilities PyPI

travis-wait-improved is a tool to prevent Travis-CI from thinking a long-running process has stalled. It will start a child process, and pass its output through along with keep-alive messages.

For example, if you wanted to run a packer build that could take up to 30 minutes, you would add the following to your .travis.yml file:

before_deploy:
  - pip install travis-wait-improved

deploy:
  - provider: script
    script: travis-wait-improved --timeout 30m packer build packer.json

Requirements

Python versions 3.6 and above. Note that Python 2 is not supported.

Contributing

We welcome contributions! Please see here for details.

License

This project is in the worldwide public domain.

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.