Skip to content

Commit

Permalink
Merge pull request #10 from agiliq/circleci
Browse files Browse the repository at this point in the history
Adding circle.yml
  • Loading branch information
shabda committed Mar 8, 2018
2 parents df69ced + b781034 commit f977474
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
16 changes: 16 additions & 0 deletions code/django_pollsapi/circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
machine:
python:
version: 2.7.6
environment:
DATABASE_URL: postgres://postgres:@127.0.0.1:5432/django_pollsapi

dependencies:
pre:
- pip install --upgrade pip==1.5.6
override:
- pip install -r requirements.txt

database:
post:
- psql -U ubuntu -d template1 -c 'create extension if not exists hstore;'
- psql -U ubuntu -d circle_test -c 'drop extension hstore; create extension if not exists hstore schema pg_catalog;'
17 changes: 17 additions & 0 deletions code/django_pollsapi/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
appnope==0.1.0
decorator==4.0.6
Django==1.9.1
django-extensions==1.6.1
djangorestframework==3.3.2
gnureadline==6.3.3
ipdb==0.8.1
ipython==4.0.2
ipython-genutils==0.1.0
path.py==8.1.2
pexpect==4.0.1
pickleshare==0.5
ptyprocess==0.5
simplegeneric==0.8.1
six==1.10.0
traitlets==4.1.0
wheel==0.24.0

0 comments on commit f977474

Please sign in to comment.