sudo: required
language: python

python:
    - "3.4"

install:                                                                                                                                                                                                                            
    - sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install mongodb
    - pip install requests
    - pip install pymongo
    - pip install pandas
    - pip install docopt
    - pip install voluptuous
    - pip install xlrd
    - pip install elasticsearch
    - pip install configobj
    - cp config/dlstats ~/.dlstats

before_script:
    - sudo mongod &
    - sudo mongo --port 27017 --host '127.0.0.1' --eval 'rs.initiate()' 
    - sleep 10
      
script: nosetests

sudo: required
language: python

python:
    - "3.4"

install:                                                                                                                                                                                                                            
    - sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install mongodb
    - pip install requests
    - pip install pymongo
    - pip install pandas
    - pip install docopt
    - pip install voluptuous
    - pip install xlrd
    - pip install elasticsearch
    - pip install configobj
    - cp config/dlstats ~/.dlstats

before_script:
    - sudo mongod
    - sudo mongo --port 27017 --host '127.0.0.1' --eval 'rs.initiate()' &

    - sleep 10
      
script: nosetests

Revert "Yet another try at Travis+Mongo"
Revert "Yet another try at Travis+Mongo"

This reverts commit f3e1115813e43b15a32ce19e8d6c8efcd718b4ae.
