Using the same script for linux platform, mongodb tests will give error
failed to connect to server [127.0.0.1:27017] on first connect
here is the travis.yml
language: node_js
os:
- windows
- linux
node_js:
- "8"
- "6"
- "10"
services:
- mongodb
notifications:
email:
on_success: never
on_failure: always
I tried adding:
before_script:
- mongod
but no luck (says unknown command)
Is there anything else that needs to be done on windows?