Skip to content

Commit

Permalink
feat(Mongoose): Add mongoDB auth. Closes #82
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinezanardi committed Dec 20, 2020
1 parent a21bec9 commit e2f6992
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ services: mongodb
language: node_js
node_js: 14
env:
- DB_NAME=werewolves-assistant
- DB_USER=travis
- DB_PASSWORD=test
- DB_NAME=werewolves-assistant DB_USER=travis DB_PASSWORD=test
before_script:
- sleep 15
- mongo werewolves-assistant --eval 'db.createUser({user:"travis",pwd:"test",roles:["readWrite"]});'
Expand Down

0 comments on commit e2f6992

Please sign in to comment.