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 3ce1cf9 commit a21bec9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ dist: xenial
services: mongodb
language: node_js
node_js: 14
env:
- 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 a21bec9

Please sign in to comment.