- Python
- Set
PYTHONPATH
env var to "src/" - Set
TRAVIS_TOKEN
env var to your Travis API token - Set
TRAVIS_ENDPOINT
tohttps://api.travis-ci.com/
if using Travis Pro. It ishttps://api.travis-ci.org/
by default.
virtualenv env
source env/bin/activate
pip install -r requirements.txt
src/dev_server.py
http://server/trigger/<repo_name>
For example:
http://server/trigger/alphagov/example-project
Can only build the master at the moment, but support for other branches will be added.
Trigger your end-to-end tests to run after Heroku is deployed.
- Deploy this app to Heroku.
- Configure it to trigger your end-to-end tests CI build on Travis (by setting a Travis token and endpoint)
- On the Heroku apps involved in the test suite, do the following:
heroku addons:add deployhooks:http --url=https://tigger-your-travis.herokuapp.com/trigger/github_org/end-to-end-tests-repo