Skip to content

Commit

Permalink
Merge pull request #39 from cid-harvard/feature/circleci-tests
Browse files Browse the repository at this point in the history
CircleCI tests
  • Loading branch information
makmanalp committed Dec 1, 2015
2 parents 55840f4 + e9a96a0 commit ba2357c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The API backend for subnational atlas projects at Harvard CID. It's written in
python and flask.

[![Doc build status](https://readthedocs.org/projects/atlas-subnational-api/badge/?version=latest)](http://atlas-subnational-api.readthedocs.org/en/latest/)
[![Circle CI test build](https://circleci.com/gh/cid-harvard/atlas-subnational-api.svg?style=svg)](https://circleci.com/gh/cid-harvard/atlas-subnational-api)

Documentation
-------------
Expand Down
16 changes: 16 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
general:
machine:
python:
version: 3.4.3
general:
artifacts:
- "htmlcov/"
dependencies:
post:
- pip install -r requirements-dev.txt
test:
override:
- mkdir -p $CIRCLE_TEST_REPORTS/junit
- py.test --cov colombia --cov-report html --junitxml=$CIRCLE_TEST_REPORTS/junit/results.xml tests/:
environment:
FLASK_CONFIG: ../conf/dev.py

0 comments on commit ba2357c

Please sign in to comment.