language: cpp
compiler:
  - gcc
before_script:
  - sudo apt-get install -y -qq cmake libgtest-dev libcppunit-dev libgnutls28-dev libgcrypt11-dev libmysqlclient-dev libev-dev zlib1g-dev libbz2-dev llvm-3.3-dev pkg-config libpcre3-dev libfcgi-dev libmagickwand-dev librrd-dev libtbb-dev
  - mkdir ~/gtest && cd ~/gtest && cmake /usr/src/gtest -DBUILD_SHARED_LIBS=ON && make && sudo cp -vp libgtest*.so /usr/local/lib/ && sudo ldconfig && cd -
  - cmake -DCMAKE_BUILD_TYPE=debug -DLLVM_CONFIG_EXECUTABLE=/usr/bin/llvm-config-3.3 -DENABLE_{RRD,EXAMPLES}=ON -DBUILD_TESTS=ON
script:
  - make
  - ./tests/x0-test
branches:
  only:
    - master
notifications:
  recipients:
    - trapni@gmail.com
  email:
    on_success: change
    on_failure: always

# some `before_script` thingies I had to disable due to some Travis-fu
#  - sudo apt-get update -qq

language: cpp
compiler:
  - gcc
before_script:
  - sudo apt-get install -y -qq cmake libgtest-dev libcppunit-dev libgnutls28-dev libgcrypt11-dev libmysqlclient-dev libev-dev zlib1g-dev libbz2-dev llvm-3.1-dev pkg-config libpcre3-dev libfcgi-dev libmagickwand-dev librrd-dev libtbb-dev
  - mkdir ~/gtest && cd ~/gtest && cmake /usr/src/gtest -DBUILD_SHARED_LIBS=ON && make && sudo cp -vp libgtest*.so /usr/local/lib/ && sudo ldconfig && cd -
  - cmake -DCMAKE_BUILD_TYPE=debug -DLLVM_CONFIG_EXECUTABLE=/usr/bin/llvm-config-3.1 -DENABLE_{RRD,EXAMPLES}=ON -DBUILD_TESTS=ON
script:
  - make
  - ./tests/x0-test
branches:
  only:
    - master
notifications:
  recipients:
    - trapni@gmail.com
  email:
    on_success: change
    on_failure: always

# some `before_script` thingies I had to disable due to some Travis-fu
#  - sudo apt-get update -qq

Revert "llvm dep 3.1 -> 3.3"
Revert "llvm dep 3.1 -> 3.3"

This reverts commit 72cff6ad7a10b7091f2f09163ac24de7e3570e4e.
