This repository has been archived by the owner on Feb 11, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,33 @@ | ||
language: node_js | ||
# currently needed for some native builds on iojs 3 | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
sudo: false | ||
node_js: | ||
- 0.10 | ||
- 0.12 | ||
- 4 | ||
- 5 | ||
- 6 | ||
services: | ||
- redis-server | ||
- mongodb | ||
script: | ||
- npm run coverage | ||
# currently needed for some native builds on iojs 3 | ||
before_install: | ||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 | ||
- g++ -v | ||
after_success: | ||
- npm run publish-coverage | ||
env: | ||
global: | ||
- CC=gcc-4.8 | ||
- CXX=g++-4.8 | ||
- MONGODB_VERSION="3.2.5" | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- gcc-4.8 | ||
- g++-4.8 | ||
- libzmq3-dev | ||
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 & | ||
- sleep 5 |