-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f53e1a5
commit 42e47f6
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
language: python | ||
addons: | ||
postgresql: "9.4" | ||
services: | ||
- postgresql | ||
python: | ||
- "3.4" | ||
- "3.5" | ||
install: | ||
- pip install -r requirements.txt | ||
- pip install coveralls | ||
script: | ||
- cd pets | ||
- python manage.py test | ||
- coverage run --source=common,users,meupet,functional_tests manage.py test | ||
env: | ||
- DJANGO_SETTINGS_MODULE=pets.settings.dev DB_NAME=test DB_USERNAME=test DB_PASSWORD=test DB_IP=127.0.0.1 DB_PORT=5432 DB_ENGINE=django.db.backends.postgresql_psycopg2 DB_CONN_MAX_AGE=0 SECRET_KEY=dummy_key ALLOWED_HOSTS=127.0.0.1, .localhost EMAIL_PORT=0 EMAIL_HOST=example.com EMAIL_HOST_PASSWORD=example EMAIL_HOST_USER=dummy@example.com OPBEAT_DISABLE_SEND=true | ||
before_script: | ||
- psql -U postgres -c "CREATE USER test WITH CREATEDB PASSWORD 'test';" | ||
after_success: | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters