forked from wyuenho/blueberrypy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
48 lines (39 loc) · 897 Bytes
/
.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
os: linux
dist: trusty
sudo: false
group: edge
language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- 3.6-dev
- nightly # == 3.7-dev
- &pypy2 pypy2.7-5.10.0
- &pypy3 pypy3.5-5.10.0
jobs:
fast_finish: true
env:
BLUEBERRYPY_CONFIG: '{}'
cache: pip
addons:
postgresql: 9.6
apt:
packages:
- postgresql-9.6-postgis-2.3
services:
- postgresql
- redis-server
before_install:
- pip install --upgrade setuptools pip tox
install:
- psql --command="CREATE ROLE tester PASSWORD 'tester' INHERIT LOGIN;" --username=postgres
- createdb --encoding=UTF-8 --username=postgres --owner=tester test_blueberrypy
- psql --command='CREATE EXTENSION postgis;' --dbname=test_blueberrypy --username=postgres
- psql --command='CREATE EXTENSION postgis_topology;' --dbname=test_blueberrypy --username=postgres
script:
- travis_retry tox
notifications:
email: true