mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-05-16 11:33:11 +00:00
Add deploy config for Travis CI (#183)
* Add deploy config for Travis CI
* Use binary psycopg2 distribution
* Remove group to get newer postgres version
* Revert "Remove group to get newer postgres version"
This reverts commit 2c22ae3248.
* Default to Postgres 9.4, Django 2.0 dropped support for <=9.3.
https://docs.travis-ci.com/user/database-setup/#using-a-different-postgresql-version
This commit is contained in:
parent
bcf1dbf0bf
commit
aab8f47f97
2 changed files with 14 additions and 1 deletions
13
.travis.yml
13
.travis.yml
|
|
@ -8,6 +8,9 @@ group: deprecated-2017Q3
|
|||
services:
|
||||
- postgresql
|
||||
|
||||
addons:
|
||||
postgresql: "9.4"
|
||||
|
||||
env:
|
||||
- TOX_ENV=py36-django-18
|
||||
- TOX_ENV=py35-django-18
|
||||
|
|
@ -34,3 +37,13 @@ script: tox -e $TOX_ENV
|
|||
|
||||
after_success:
|
||||
- codecov -e TOX_ENV
|
||||
|
||||
deploy:
|
||||
provider: pypi
|
||||
user: $PYPI_USER
|
||||
password:
|
||||
secure: $PYPI_PASSWORD
|
||||
on:
|
||||
repo: jjkester/django-auditlog
|
||||
branch: stable
|
||||
condition: $TOX_ENV = py36-django-20
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ coverage==4.3.4
|
|||
tox>=1.7.0
|
||||
codecov>=2.0.0
|
||||
django-multiselectfield==0.1.8
|
||||
psycopg2
|
||||
psycopg2-binary
|
||||
|
|
|
|||
Loading…
Reference in a new issue