Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
reverting .travis.yml with MONGO2.6 and 3.0 commented
Browse files Browse the repository at this point in the history
  • Loading branch information
fullergalway committed Apr 1, 2016
1 parent 8ce3274 commit ca23053
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
env:
- MONGODB_VERSION="2.6*"
- MONGODB_VERSION="3.0*"
# - MONGODB_VERSION="2.6*"
# - MONGODB_VERSION="3.0*"
- MONGODB_VERSION="3.2*"

before_install:
# GCC-5
# GCC-4.8
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -y gcc-5 g++-5
# MongoDB
- if [[ "$TRAVIS_NODE_VERSION" != 0.* ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- if [ "$MONGODB_VERSION" = "2.4*" ]; then echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | sudo tee /etc/apt/sources.list.d/mongodb.list; fi
- if [ "$MONGODB_VERSION" = "2.6*" ]; then echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | sudo tee /etc/apt/sources.list.d/mongodb.list; fi
- if [ "$MONGODB_VERSION" = "3.0*" ]; then echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list; fi
- if [ "$MONGODB_VERSION" = "3.2*" ]; then echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/testing multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.1.list; fi
- sudo apt-get update -qq
- yes | sudo DEBIAN_FRONTEND=noninteractive apt-get -y upgrade
- wget http://www.us.apache.org/dist/kafka/0.9.0.1/kafka_2.11-0.9.0.1.tgz -O kafka.tgz
- mkdir -p kafka && tar xzf kafka.tgz -C kafka --strip-components 1
- nohup bash -c "cd kafka && bin/zookeeper-server-start.sh config/zookeeper.properties &"
Expand All @@ -30,6 +26,7 @@ install:
- if [ "$MONGODB_VERSION" != "2.4*" ]; then sudo apt-get install -y --force-yes -qq mongodb-org-server=`echo $MONGODB_VERSION`; fi
- mongod --version
- if [ "$MONGODB_VERSION" = "2.4*" ]; then sudo service mongodb start; fi
- if [[ "$TRAVIS_NODE_VERSION" != 0.* ]]; then sudo apt-get -y -qq install g++-4.8; export CXX="g++-4.8" CC="gcc-4.8"; fi
- npm install

before_script:
Expand Down

0 comments on commit ca23053

Please sign in to comment.