From b3a2171a72c263cd59d2c9f13669afa48531fcb1 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Tue, 17 Oct 2017 10:17:54 +0200 Subject: [PATCH] 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 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f009b12..81062d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ services: - mongodb before_script: - - mongo test_db --eval 'db.addUser("travis", "test");' + - mongo test_db --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]});' before_deploy: - npm run release