forked from geodesign/django-raster
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (29 loc) · 733 Bytes
/
.travis.yml
File metadata and controls
38 lines (29 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dist: xenial
language: python
python:
- '3.4'
- '3.5'
env:
- DB_NAME=raster_test PYTHONPATH=$PYTHONPATH:$PWD DJANGO_SETTINGS_MODULE=tests.testproj.settings
addons:
postgresql: 9.6
services:
- postgresql
apt:
packages:
- postgresql-9.6-postgis-2.4
before_script:
- psql -U postgres -c 'create extension postgis'
- psql -c 'create database raster_test' -U postgres
install:
- pip install -e .
- pip install psycopg2-binary==2.8.4
- pip install flake8==3.7.9
- pip install isort==4.3.21
- pip install coverage==4.5.4
- pip install coveralls
- pip install mock
script: coverage run --include="raster/*" $(which django-admin.py) test
after_success: coveralls
notifications:
email: false