-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
62 lines (52 loc) · 2.2 KB
/
.travis.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
dist: trusty
language: python
services:
- postgresql
python:
- '2.7'
addons:
postgresql: '9.4'
apt:
packages:
- postgresql-9.4-postgis-2.3
env:
- GEOKEY='>=1.0,<1.1' DJANGO='>=1.8,<1.9'
- GEOKEY='>=1.0,<1.1' DJANGO='>=1.9,<1.10'
- GEOKEY='>=1.1,<1.2' DJANGO='>=1.8,<1.9'
- GEOKEY='>=1.1,<1.2' DJANGO='>=1.9,<1.10'
- GEOKEY='>=1.2,<1.3' DJANGO='>=1.8,<1.9'
- GEOKEY='>=1.2,<1.3' DJANGO='>=1.9,<1.10'
- GEOKEY='' DJANGO='>=1.8,<1.9'
- GEOKEY='' DJANGO='>=1.9,<1.10'
virtualenv:
system_site_packages: true
install:
- sudo -E apt-get -yq update &>> ~/apt-get-update.log
- sudo apt-get install binutils libav-tools
- sudo apt-get -yq install libgdal-dev python-gdal
- gdal-config --version
- export C_INCLUDE_PATH=/usr/include/gdal
- export CPLUS_INCLUDE_PATH=/usr/include/gdal
before_script:
- psql template1 postgres -c 'create extension hstore;'
- psql -c 'create database geokey;' -U postgres
- psql -U postgres -d geokey -c 'create extension postgis;'
- pip install geokey$GEOKEY
- pip install django$DJANGO
- python -c "import django; print('DJANGO %s ' % django.get_version())"
- python -c "from geokey.version import get_version; print('GEOKEY %s' % get_version())"
- pip install -r travis_ci/requirements.txt
- pip install -e .
- python travis_ci/manage.py migrate
script:
- coverage run --source=geokey_geotagx travis_ci/manage.py test geokey_geotagx
after_success:
- coveralls
deploy:
provider: pypi
user: excites
password:
secure: hIPNvTn8X/xqIDQsw2CzPlGbwRbLXLSEEC0Zg4Q9y+kn9uR8kwsSdGGIcTLXFgxhrOwSqgnXP3u5fpEpeUciFBBef0P0HWKRUF5qknsvG/KdDQQZ46FGzsRhhlqFW+oFzmeo8QeR/V2Ty22PfhasX9feuIjWG/i0RNVepaw9cyHYekmm7FYR2Zgabu8y6sv1evRqj/VCZjkWMMw05TtEw+Io0A1b+2ErJVatVI83pPRJjJS3h9FKMwK4jhTsBfmkXw4f+9iBsAFAdXs6//v7IPqirlUKWIltE8lCV+bPpsRNN+9vw5BnPFlWXnwCxrIi1AGwjNdcxGez6Tj6RXR26dJJhI1d/D0w/3gwC7BdmX0JTDNVsR37IvIgo8f6Jhb9EuBrierMhY7FUYdbbmdp2P8cB/cQQmPHO2jonE5eSK1O6+O37lNH/4xxQc5seCVvmcLEHnuBCL1myb9Jv9re4SDLTds/YXF8iEpFlO8JDYRvo6AgJhTJrIy39h4aNvzFB/85Ow1KHZ/mgQCohQH5aMXjrtkLRWE/3PXSUuy8pVPD7GWuFHPX4Vulh0UkYKP0x7FgReIYAVEMDTLVuUqJf6L1iN1fkikScNU2kYkWhfJ79a0GcxwSaI/wBqDN5HRBuc9krYCPOx5+8JRgApTjCaxUHu5kYd9MlXO1XflaT8g=
on:
tags: true
branch: master