Skip to content

Instantly share code, notes, and snippets.

@lykmapipo
Last active July 12, 2017 11:59
Show Gist options
  • Save lykmapipo/7a083658c79a8f53dedb85ccaee738ec to your computer and use it in GitHub Desktop.
Save lykmapipo/7a083658c79a8f53dedb85ccaee738ec to your computer and use it in GitHub Desktop.
Setup Custom MongoDB in Travis CI
language: node_js

node_js:
  - "4.0"
  - "4"
  - "5.0"
  - "5"
  - "6.0"
  - "6"

sudo: false
addons:
  apt:
    sources:
      - mongodb-upstart
      - mongodb-3.0-precise
    packages:
      - mongodb-org-server
      - mongodb-org-shell

before_script:
  - sleep 15

after_script: "npm run coveralls"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment