Skip to content

Commit

Permalink
ci database config test
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Jan 14, 2019
1 parent 6c2fb95 commit cdc66c5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
- ./venv
key: v1-dependencies-{{ checksum "requirements.txt" }}

- run: sudo apt-get install postgresql-client-9.6
- run:
name: Installing psql client
command: sudo apt-get install postgresql-client

- run:
name: Waiting for PostgreSQL to be ready
Expand All @@ -53,8 +55,9 @@ jobs:
done
echo Failed waiting for PostgreSQL && exit 1
- run: |
psql -U root -h localhost -c "CREATE DATABASE circle_test2;"
- run:
name: Creating additional database
command: psql -U root -h localhost -c "CREATE DATABASE circle_test2;"

- run:
name: run tests
Expand Down

0 comments on commit cdc66c5

Please sign in to comment.