Author: mreutegg
Date: Wed Jan  3 11:54:12 2018
New Revision: 1819951

URL: http://svn.apache.org/viewvc?rev=1819951&view=rev
Log:
OAK-7120: Use specific MongoDB version on travis-ci

Modified:
    jackrabbit/oak/branches/1.6/.travis.yml

Modified: jackrabbit/oak/branches/1.6/.travis.yml
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/branches/1.6/.travis.yml?rev=1819951&r1=1819950&r2=1819951&view=diff
==============================================================================
--- jackrabbit/oak/branches/1.6/.travis.yml (original)
+++ jackrabbit/oak/branches/1.6/.travis.yml Wed Jan  3 11:54:12 2018
@@ -13,7 +13,14 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-sudo: false
+dist: trusty
+sudo: required
+# OAK-7120: Use specific MongoDB version on travis-ci
+before_install:
+  - "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 
EA312927"
+  - "echo 'deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 
multiverse' | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list"
+  - "sudo apt-get update"
+  - "sudo apt-get install -y --allow-downgrades mongodb-org-server=3.2.18"
 env:
   - MODULE=oak-jcr
   - MODULE=oak-core
@@ -31,7 +38,5 @@ jdk:
 cache:
   directories:
     - $HOME/.m2
-services:
-  - mongodb
 notifications:
   email: false


Reply via email to