Skip to content

Commit

Permalink
Add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdutton committed Jan 23, 2019
1 parent bcfff18 commit 3481d9f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: python
services:
- postgresql
addons:
postgresql: "10"
apt:
packages:
- postgis
- postgresql-10
- postgresql-10-postgis-2.4
- postgresql-10-postgis-2.4-scripts
- postgresql-client-10
- postgresql-contrib-10
- python-gdal
python:
- "3.6"
install:
- pip install -r requirements.txt
- pip install codecov
env:
global:
- DJANGO_SETTINGS_MODULE=commons_api.tests.settings DJANGO_ALLOWED_HOSTS=localhost
- PGPORT=5433
script: PYTHONPATH=. coverage run --source=. `which django-admin.py` test
after_success:
- codecov

0 comments on commit 3481d9f

Please sign in to comment.