👷Repeat TravisCI builds to avoid stale test results
If your project's tests rely on a 3rd party API or service, running your tests at commit time isn't enough. To ensure your projects continue function correctly, you need to regularly run your test suite.
travis-build-repeat lets you automate this process with AWS Lambda.
travis-build-repeat automatically restarts the latest build of your project on a schedule, so you'll get notified if something breaks.
Clone the repo
pip install -r requirements.txt
cp settings.py.template settings.py
Create a Github access token here with the following permissions:
settings.pyto be this access token.
Add the repos you want to keep updated to
TRAVIS_REPOS, with the format
zappa deployto schedule the AWS Lambda functions. (Note: This will require you to have setup your AWS credentials file)
If you make an update to your configuration, run
zappa update to push those changes to AWS.
If you want to stop
zappa undeploy to unschedule the Lambdas.
travis-build-repeat runs daily. If you wish to change this rate, edit the event
You can find a description of valid rate expressions here.