Skip to content

Instantly share code, notes, and snippets.

@boertel
Created July 1, 2015 05:05
Show Gist options
  • Select an option

  • Save boertel/a6003a437c2541ec9508 to your computer and use it in GitHub Desktop.

Select an option

Save boertel/a6003a437c2541ec9508 to your computer and use it in GitHub Desktop.
Circle CI: circle.yml
machine:
python:
version: 2.7.9
services:
- postgresql
- redis
environment:
DB_NAME: circle_ci
DB_USER: ubuntu
dependencies:
post:
- pip install -r dev_requirements.txt
general:
build_dir: ./web/
test:
override:
- coverage run manage.py test
post:
- coverage report > $CIRCLE_ARTIFACTS/coverage.txt
- "pyflakes . > $CIRCLE_ARTIFACTS/pyflakes.txt || :"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment