-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (51 loc) · 8.58 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
sudo: true
dist: trusty
language: python
python:
- '3.5'
env:
matrix:
- DJANGO_VERSION=2.0.2
- DJANGO_SETTINGS_MODULE='better_spots.unittesting'
global:
- secure: hcf0CvszQD/MfcLWYIwB6PVLfa76bMwC6Bx3u0o7f+xlz04UGuEi+iJn/ugp99TABxLSBsCm5K1ZAXgYWWUfMbHE2SKlhcHI+wtY4tjybMXgnGjI7td9UTyEqOgia10UwQchf1Nei4jT8LDMsdz4bGA8Zvbphus3lk2fEhdfPSTXeUw5SQ3ggEhiEDd9Cghzz+yZ8K2oqMfz9ILmg/yDBYEQHTRDKDPWFwP+HXxAz3bdzyKvigxJc3t3LWGjZEPFGtRT6/Q4iEZ1g1H8IZXVaRVUcGOvqzRzXhB/qpIuHPIuWEtrDHqy5p9URn4bGK77oROb25L1LX5F8L6rB2AUegMDM0J1sHmC3Kbq/r+8hJe4NW/54HxbbyEBd0Ml2hiEy4D74ndfctSDPwTfJUxEXXeYGc5ll6ObUjBxKOdX0urfCRxS6AEjopPp4AdWUDEKB0uqkpWCiQmKs6YDqCodv2ZSeW64ClzRG24YYVetO2b102AOg94jaOApxSv/eWrBfI5hTB+5v280/G9zXPTkYrsF/N7lGXYktvNtk3YV+4Bohz5c+zNcm9mFePelqXP3EfaiO7lr5UrtphsDJPbpMj8UuomouCibHF38CupghlvISGFzkVgqBTZOD3gVha5zW4/UF9M2otQ3mtxa3c4Ood1ceZnFBYRs3zgbmQZVEis=
- secure: b3ZhYAyP7XkcAJExjIunoXxuB5SNmvZPPzVsZzo+Qk9TYELN7b0o6z2m7fnnLJrJvoeDJrN9CLMbmtyEaOGi2KxvDSxo+2naPQbmndrcM8gO9/WLcZjjth9D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aUa3eWFnGSivh5Srd34rLPEBh+plhy6WSTWVb5Cuhbfe3jtHmz1Rg3wPj3QYJcQopKN1aCPhXC3AycB056KYgIHsTzSxRVF8Bbne/TfPgX8VI+GBAib8Yhh1jNC1Xnwh1uR+F+69QmtOSqPQbCTXP/B9PG9tDoiU5mwYUXSYDym60VMQEMNgfKTNUhg+P3CcRihF0pitW7hVkMJTkU5i2jHKpMZK9nRZidnVig0Ng9I=
install:
- pip install -r requirements.txt
addons:
postgresql: '9.6'
services:
- postgresql
before_install:
- sudo apt-get update -qq
- sudo apt-get -y install python-software-properties
- sudo apt-get -y install mapserver-bin
- sudo apt-get -y install gdal-bin
- sudo apt-get -y install cgi-mapserver
- sudo apt-get -y install postgresql-9.6
- sudo apt-get -y install postgresql-client-9.6
- sudo apt-get -y install postgresql-server-dev-9.6
- sudo apt-get -y install postgresql-plperl-9.6
- sudo apt-get -y install postgresql-9.6-postgis-2.3
- sudo apt-get -y install postgresql-9.6-postgis-2.3-scripts
before_script:
- psql -c 'create database better_spots;' -U postgres
script:
- python manage.py migrate --noinput --settings=better_spots.travis_ci
- python manage.py test --settings=better_spots.travis_ci
- prospector --strictness low
notifications:
email:
recipients:
on_success: always
on_failure: always