language: cpp

compiler:
  - gcc
  - clang

before_install:
  # g++4.8.1
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test

  # clang 3.4
  - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi

  - sudo apt-get update -qq

install:
  # g++4.8.1
  - sudo apt-get install -qq g++-4.8
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; CC="gcc-4.8"; fi

  # clang 3.4
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
  - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; CC="clang-3.4"; fi

script: 
  - ./tools/Linux/Ubuntu/Build.bash --run-analysis

notifications:
  irc: 
    - "chat.freenode.net#realxtend-dev"

language: cpp

compiler:
  - gcc
  # clang 3.4 build is still pulling in gcc 4.6 headers, nor sure how to fix this
  #- clang

before_install:
  # g++4.8.1
  - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi

  # clang 3.4
  - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi

  - sudo apt-get update -qq

install:
  # g++4.8.1
  - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; CC="gcc-4.8"; fi

  # clang 3.4
  - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
  - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; CC="clang-3.4"; fi

script: 
  - ./tools/Linux/Ubuntu/Build.bash --run-analysis

notifications:
  irc: 
    - "chat.freenode.net#realxtend-dev"

Disable clang, its not working. Maybe someone smarter knows how to get it going. Fail in building Urho3D.
Travis: Disable clang, its not working. Maybe someone smarter knows how to get it going. Fail in building Urho3D.
