Skip to content

Instantly share code, notes, and snippets.

@netmilk
Created October 8, 2013 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netmilk/6885179 to your computer and use it in GitHub Desktop.
Save netmilk/6885179 to your computer and use it in GitHub Desktop.
Example Travis CI dotfile for testing APIs with Dredd
language: node_js
node_js:
- 0.8
- 0.10
before_install:
- npm install -g dredd
script: ./scripts/test
services:
- mongodb
before_script:
- mongo mydb_test --eval 'db.addUser("test", "test");'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment