Skip to content

Instantly share code, notes, and snippets.

@ibotdotout
Created August 24, 2015 09:09
Show Gist options
  • Save ibotdotout/1faa3e6416306b3b191f to your computer and use it in GitHub Desktop.
Save ibotdotout/1faa3e6416306b3b191f to your computer and use it in GitHub Desktop.
travis with python and other services
language: python
python:
- "2.7"
services:
- mongodb
install:
- pip install -r requirements.txt
before_script:
- gunicorn route:app --log-file=- --pid=/tmp/regis-gunicorn.pid --daemon
script:
- nosetests tests/unit
- pybot -d /tmp --variable SERVER:"localhost:8000" tests/acceptance/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment