Skip to content

Commit

Permalink
Force mongo 2.6 install in TravisCI until officialy supported (see tr…
Browse files Browse the repository at this point in the history
…avis-ci#2246)
  • Loading branch information
noirbizarre committed Apr 8, 2015
1 parent e6d8c0f commit fa6edae
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
language: python
python:
- 2.7
services:
- mongodb
# services:
# - mongodb
before_install:
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
- echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -qq
- sudo apt-get install -y mongodb-org=2.6.7
- sudo apt-get install libgeos-dev gdal-bin libgdal1h libgdal-dev
- sudo /usr/share/elasticsearch/bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.4.0
- sudo service elasticsearch start
- mongo --version
install:
- pip install -r requirements/travis.pip
- pip install --no-deps -e .
Expand Down

0 comments on commit fa6edae

Please sign in to comment.