Skip to content

Commit

Permalink
work around py3 incompatible boto plugin on travis travis-ci/travis-c…
Browse files Browse the repository at this point in the history
  • Loading branch information
olt committed Sep 9, 2016
1 parent a142e75 commit a039bf6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .travis.yml
Expand Up @@ -29,7 +29,12 @@ addons:
- libprotoc-dev

env:
- MAPPROXY_TEST_COUCHDB=http://127.0.0.1:5984
global:
- MAPPROXY_TEST_COUCHDB=http://127.0.0.1:5984

# 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

cache:
directories:
Expand All @@ -39,5 +44,6 @@ install:
# riak packages are not compatible with Python 3
- "if [[ $TRAVIS_PYTHON_VERSION = '2.7' ]]; then pip install protobuf>=2.4.1 riak==2.2 riak_pb>=2.0; export MAPPROXY_TEST_COUCHDB=http://127.0.0.1:5984; export MAPPROXY_TEST_RIAK_PBC=pbc://localhost:8087; fi"
- "pip install -r requirements-tests.txt"
- "pip freeze"

script: nosetests mapproxy
2 changes: 1 addition & 1 deletion requirements-tests.txt
@@ -1,6 +1,6 @@
WebTest==2.0.10
lxml==3.2.4
nose==1.3.0
nose==1.3.7
Shapely==1.5.8
PyYAML==3.10
Pillow==2.8.1
Expand Down

0 comments on commit a039bf6

Please sign in to comment.