Author: mreutegg
Date: Wed Sep 13 13:12:20 2017
New Revision: 1808236
URL: http://svn.apache.org/viewvc?rev=1808236&view=rev
Log:
OAK-6655: Update travis build configuration
Setup and start MongoDB 2.6.12 manually
Modified:
jackrabbit/oak/branches/1.0/.travis.yml
Modified: jackrabbit/oak/branches/1.0/.travis.yml
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/branches/1.0/.travis.yml?rev=1808236&r1=1808235&r2=1808236&view=diff
==============================================================================
--- jackrabbit/oak/branches/1.0/.travis.yml (original)
+++ jackrabbit/oak/branches/1.0/.travis.yml Wed Sep 13 13:12:20 2017
@@ -14,6 +14,16 @@
# limitations under the License.
sudo: false
+env:
+ global:
+ - MONGO_VER=2.6.12
+before_install:
+ - wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-$MONGO_VER.tgz
+ - tar xfz mongodb-linux-x86_64-$MONGO_VER.tgz
+ - export PATH=`pwd`/mongodb-linux-x86_64-$MONGO_VER/bin:$PATH
+ - mkdir -p target/data/db
+ - mongod --dbpath=target/data/db --logpath=target/mongodb.log &
+ - sleep 3
install: true
script: mvn --batch-mode verify -Ppedantic,integrationTesting -pl
:oak-lucene -am
language: java
@@ -22,7 +32,5 @@ jdk:
cache:
directories:
- $HOME/.m2
-services:
- - mongodb
notifications:
email: false