language: cpp
compiler:
  - gcc
before_install:
  - sudo sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise main' >> /etc/apt/sources.list"
  - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
  - sudo apt-get update -qq
  - sudo apt-get install -qq llvm-3.4
  - sudo apt-get install -qq openjdk-7-jdk
  - 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
  - export "JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/"
script:
  - make check

language: cpp
compiler:
  - gcc
before_install:
  - sudo sh -c "echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main' >> /etc/apt/sources.list"
  - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
  - sudo apt-get update -qq
  - sudo apt-get install -qq llvm-3.4-dev
  - sudo apt-get install -qq openjdk-7-jdk
  - 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
  - export "JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/"
script:
  - make check

Fix LLVM 3.4 for Travis CI
Fix LLVM 3.4 for Travis CI

Signed-off-by: Pekka Enberg <add4fcd06328a394f0ad91feda7ee057316dc5ed@kernel.org>
