message: Get travis green again
  Overall, travis integration needs a re-write, but this will stop
  the bleeding until we have time to do it better.
diff: +dist: trusty
  +sudo: required
  +
  language: cpp
  compiler:
  @@ -6,8 +9,8 @@ compiler:
  env:
  global:
  - - MONGO_REPO="http://repo.mongodb.com/apt/ubuntu"
  - - REPO_TYPE="precise/mongodb-enterprise/3.2 multiverse"
  + - MONGO_REPO="[ arch=amd64 ] http://repo.mongodb.com/apt/ubuntu"
  + - REPO_TYPE="trusty/mongodb-enterprise/3.4 multiverse"
  - SOURCES_LOC="/etc/apt/sources.list.d/mongodb-enterprise.list"
  - KEY_SERVER="hkp://keyserver.ubuntu.com:80"
  - CMAKE_VERSION="cmake-3.2.3-Linux-x86_64"
  @@ -21,20 +24,16 @@ env:
  before_install:
  # Add the modern toolchain repositories (llvm repo depends on ubunut-toolchain-r + gcc)
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - - sudo add-apt-repository -y 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main'
  + - sudo add-apt-repository -y 'deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main'
  - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
  # Get the latest CMake
  - curl -O https://cmake.org/files/v3.2/${CMAKE_VERSION}.tar.gz
  # MongoDB Enterprise Edition, latest stable version
  - - sudo apt-key adv --keyserver ${KEY_SERVER} --recv 7F0CEB10
  - - sudo apt-key adv --keyserver ${KEY_SERVER} --recv D68FA50FEA312927
  + - sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
  - echo "deb ${MONGO_REPO} ${REPO_TYPE}" | sudo tee ${SOURCES_LOC}
  - # CMake
  - - sudo add-apt-repository --yes ppa:kalakris/cmake
  -
  # Update all the repositories
  - sudo apt-get update -qq
  @@ -51,22 +50,27 @@ install:
  # CMake
  - tar -zxvf ${CMAKE_VERSION}.tar.gz -C build
  + # Blow away any prior mongodb state so we don't have prior db state that
  + # that doesn't have the right featureCompatibilityVersion
  + - sudo dpkg --purge mongodb-org
  + - sudo rm -rf /var/lib/mongodb
  +
  # Install MongoDB Enterprise
  - sudo apt-get install mongodb-enterprise-server
  - # Install CMake (Versions lower than 2.8.8 do not support object libraries)
  - - sudo apt-get install cmake
  -
  # Install Mongo C Driver
  - pushd mongo-c-driver
  # TODO: Update this to our real minimum for the C++11 driver 3.2 release, once known.
  - - git checkout master
  + - git checkout 1.8.1
  - ./autogen.sh --enable-tests=no --enable-examples=no --with-libbson=bundled; make; sudo make install
  - popd
  + # Start up the server. We don't care to terminate it, since we are in an ephemeral VM.
  + - sudo service mongod start
  +
  before_script:
  - $CC --version
  - $CXX --version
  