message: Build C Driver with CMake on Travis, 2
diff: @@ -42,13 +42,13 @@ before_install:
  install:
  # GCC
  - - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq cmake g++-4.9; export CXX="g++-4.9"; export CC="gcc-4.9"; fi
  + - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.9; export CXX="g++-4.9"; export CC="gcc-4.9"; fi
  # Clang
  - - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq cmake clang-3.6; export CXX="clang++-3.6"; export CC="clang-3.6"; fi
  + - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.6; export CXX="clang++-3.6"; export CC="clang-3.6"; fi
  # CMake
  - - tar -zxvf ${CMAKE_VERSION}.tar.gz -C build
  + - sudo apt-get install -qq cmake
  # Blow away any prior mongodb state so we don't have prior db state that
  # that doesn't have the right featureCompatibilityVersion
  @@ -77,6 +77,7 @@ before_script:
  - $CXX --version
  # Build the driver and the tests
  + - mkdir build
  - cd build
  - ${CMAKE_BINARY} -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_C_FLAGS="-Wall -Wextra -Wno-attributes -Werror -Wno-error=missing-field-initializers" -DCMAKE_CXX_FLAGS="-Wall -Wextra -Wno-attributes -Werror -Wno-error=missing-field-initializers" ..
  