Permalink
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (36 sloc) 1009 Bytes
dist: trusty
sudo: true
language: java
jdk:
- oraclejdk9
notifications:
email:
recipients:
- jeff.yemin@mongodb.com
- ross@mongodb.com
on_success: change
on_failure: always
branches:
only:
- master
env:
global:
- MONGODB_FILE_NAME=mongodb-linux-x86_64-enterprise-ubuntu1404
- MONGODB=3.6.1
addons:
apt:
packages:
- libsnmp-dev
install:
- wget http://downloads.mongodb.com/linux/${MONGODB_FILE_NAME}-${MONGODB}.tgz
- tar xzf ${MONGODB_FILE_NAME}-${MONGODB}.tgz
- ${PWD}/${MONGODB_FILE_NAME}-${MONGODB}/bin/mongod --version
before_script:
- mkdir ${PWD}/${MONGODB_FILE_NAME}-${MONGODB}/data
- ${PWD}/${MONGODB_FILE_NAME}-${MONGODB}/bin/mongod --dbpath ${PWD}/${MONGODB_FILE_NAME}-${MONGODB}/data --logpath ${PWD}/${MONGODB_FILE_NAME}-${MONGODB}/mongodb.log --setParameter enableTestCommands=1 --fork --smallfiles --nojournal
script:
- ./gradlew -q assemble
- ./gradlew check -Ptravistest=true
- ./gradlew docs
after_script:
- pkill mongod