Skip to content

Commit

Permalink
Fix travis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sukrit007 committed Jun 30, 2017
1 parent f554c8d commit 2f2d3eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Expand Up @@ -2,18 +2,13 @@ language: python
python:
- "2.7"

sudo: true
sudo: false

services:
- mongodb

# command to install dependencies
install:
- "echo 'replSet = local' | sudo tee -a /etc/mongodb.conf"
- "sudo service mongodb restart"
- "sleep 20"
- "mongo --eval 'rs.initiate()'"
- "sleep 15"
- "pip install --upgrade pip"
- "pip install -r requirements.txt"
- "pip install -r dev-requirements.txt"
Expand Down
2 changes: 1 addition & 1 deletion conf/appconfig.py
Expand Up @@ -245,7 +245,7 @@
if MONGODB_USERNAME else ''

MONGODB_REPLICA_OPTIONS = '?w=majority' \
if len(MONGODB_SERVERS.split(',')) > 0 else ''
if len(MONGODB_SERVERS.split(',')) > 1 else ''

MONGODB_DEFAULT_URL = 'mongodb://{0}{1}/{2}{3}'.format(
MONGODB_AUTH, MONGODB_SERVERS, MONGODB_AUTH_DB,
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/__init__.py
Expand Up @@ -2,7 +2,7 @@
from celery.signals import setup_logging
import orchestrator.logger

__version__ = '0.5.3'
__version__ = '0.5.4'
__author__ = 'sukrit'

orchestrator.logger.init_logging()
Expand Down

0 comments on commit 2f2d3eb

Please sign in to comment.