Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (22 sloc) 512 Bytes
language: node_js
node_js:
- "0.10"
sudo: false
services:
- docker
- mongodb
# We need to download MongoDB 2.6.10
env:
global:
- MONGODB_VERSION=2.6.10
before_install:
- wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-$MONGODB_VERSION.tgz
- tar xfz mongodb-linux-x86_64-$MONGODB_VERSION.tgz
- export PATH=`pwd`/mongodb-linux-x86_64-$MONGODB_VERSION/bin:$PATH
- mkdir -p data/db
- mongod --dbpath=data/db > /dev/null 2>&1 &
- sleep 3
# whitelist
branches:
only:
- master