Fix mongo config

We need to update to the new mongo 3.x api since the travis build is currently broken. See: https://travis-ci.org/mailvelope/keyserver/builds/282576101#L845
This commit is contained in:
Tankred Hase 2017-10-17 10:17:54 +02:00 committed by GitHub
parent d80108915e
commit b3a2171a72

View File

@ -10,7 +10,7 @@ services:
- mongodb - mongodb
before_script: before_script:
- mongo test_db --eval 'db.addUser("travis", "test");' - mongo test_db --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]});'
before_deploy: before_deploy:
- npm run release - npm run release