language: c

compiler:
  - clang
  - gcc

before_install:
  - sudo apt-get -y install libgtest-dev libssl-dev
  - export GTEST_ROOT=/usr/src/gtest
  - git config --global user.email "travis@localhost"
  - git config --global user.name "Travis CI"
  - git tag -a 0.0.$TRAVIS_BUILD_NUMBER -m $TRAVIS_BUILD_NUMBER

script: |
  ./config/autorun.sh && \
  ./configure --disable-plugins --enable-warnings --enable-snappy=off && \
  make check || cat ./check-all*.log

notifications:
  email:
    - mark.nunberg@couchbase.com

language: c

compiler:
  - clang
  - gcc

before_install:
  - sudo apt-get -y install python-software-properties
  - sudo add-apt-repository -y ppa:mnunberg/cmake
  - sudo apt-get update
  - sudo apt-get -y install libgtest-dev libssl-dev libev-dev libevent-dev cmake

script: |
  ./cmake/configure && make && make alltests && cd build && \
  (ctest -V || (cat check*.log; false))

notifications:
  email:
    - mark.nunberg@couchbase.com

Update Travis to use CMake
Update Travis to use CMake

Change-Id: I65c5e43d7621754d8d051a25bedb48333fea8d5b
Reviewed-on: http://review.couchbase.org/43531
Tested-by: Mark Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>
Reviewed-by: Brett Lawson <c8c4369773d7d7226e031f0c4af62e3f38a08510@gmail.com>
