forked from mapproxy/mapproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (56 loc) · 1.38 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
63
64
65
66
67
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
services:
- couchdb
- redis-server
addons:
apt:
sources:
- sourceline: 'deb https://packagecloud.io/basho/riak/ubuntu/ xenial main'
key_url: 'https://packagecloud.io/basho/riak/gpgkey'
packages:
- proj-bin
- libgeos-dev
- libgdal-dev
- libxslt1-dev
- libxml2-dev
- build-essential
- python-dev
- libjpeg-dev
- zlib1g-dev
- libfreetype6-dev
- protobuf-compiler
- libprotoc-dev
- riak
env:
global:
- MAPPROXY_TEST_COUCHDB=http://127.0.0.1:5984
- MAPPROXY_TEST_REDIS=127.0.0.1:6379
- MAPPROXY_TEST_RIAK_HTTP=http://localhost:8098
- MAPPROXY_TEST_RIAK_PBC=pbc://localhost:8087
# do not load /etc/boto.cfg with Python 3 incompatible plugin
# https://github.com/travis-ci/travis-ci/issues/5246#issuecomment-166460882
- BOTO_CONFIG=/doesnotexist
matrix:
include:
# Test 2.7 and 3.7 also with latest Pillow version
- python: "2.7"
env: USE_LATEST_PILLOW=1
- python: "3.7"
env: USE_LATEST_PILLOW=1
cache:
directories:
- $HOME/.cache/pip
before_install:
- "sudo systemctl start riak"
install:
- "pip install -r requirements-tests.txt"
- "if [[ $USE_LATEST_PILLOW = '1' ]]; then pip install -U Pillow; fi"
- "pip freeze"
script:
- pytest mapproxy