Attempting to get TravisCI set up to run server tests by having it install mongodb.

This commit is contained in:
Scott Erickson 2014-06-09 17:04:51 -07:00
parent 3a8b01b058
commit 7211a82d2c

View file

@ -2,6 +2,12 @@ language: node_js
node_js:
- 0.10
before_install:
- "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10"
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
- "sudo apt-get update"
- "sudo apt-get install mongodb-org-server"
before_script:
- "npm install"
- export DISPLAY=:99.0