Skip to content
This repository has been archived by the owner on May 24, 2019. It is now read-only.

Commit

Permalink
tweak tests to work in circle
Browse files Browse the repository at this point in the history
  • Loading branch information
ckolos committed Jun 15, 2016
1 parent 515e297 commit 8ea693d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ dependencies:
# Clean up any old images and save the new one
- I="image-$(date +%j).tar"; mkdir -p ~/docker; rm ~/docker/*; docker save app:build > ~/docker/$I; ls -l ~/docker

test:
database:
- psql -U postgres -c "CREATE DATABASE leaderboard_test;"
- psql -U postgres -c "CREATE EXTENSION postgis" -d leaderboard_test
- psql -U postgres -c "CREATE EXTENSION postgis_topology" -d leaderboard_test
- psql -U ubuntu -c "CREATE DATABASE leaderboard_test;"
- psql -U ubuntu -c "CREATE EXTENSION postgis" -d leaderboard_test
- psql -U ubuntu -c "CREATE EXTENSION postgis_topology" -d leaderboard_test

test:
override:
- docker run --net=host -t app:build sh -c "pip install flake8 coveralls && flake8 leaderboard && coverage run manage.py test && COVERALLS_REPO_TOKEN=d7QxZjN1cQe9uq8QJqDi33F0XM2IvTFJ4 coveralls"

Expand Down

0 comments on commit 8ea693d

Please sign in to comment.