addons: apt: packages: - clang-3.7 - lib32stdc++6 - lib32z1-dev - libc6-dev-i386 - linux-libc-dev - g++-multilib - g++-4.8 sources: - llvm-toolchain-precise-3.7 - ubuntu-toolchain-r-test language: cpp sudo: false compiler: - clang before_script: - CHECKOUT_DIR=$PWD && cd .. && $CHECKOUT_DIR/support/checkout-deps.sh && cd $CHECKOUT_DIR script: - mkdir build && cd build - PATH="~/.local/bin:$PATH" - CC=clang-3.7 CXX=clang-3.7 python ../configure.py --enable-optimize --sdks=episode1,tf2,l4d2,csgo,dota - ambuild - cd .. && mkdir build-sh-opt && cd build-sh-opt - CC=clang-3.7 CXX=clang-3.7 python ../configure.py --enable-optimize --enable-tests --sdks= - ambuild - ./core/sourcehook/test/test_sourcehook/test_sourcehook -v - cd .. && mkdir build-sh-debug && cd build-sh-debug - CC=clang-3.7 CXX=clang-3.7 python ../configure.py --enable-debug --enable-tests --sdks= - ambuild - ./core/sourcehook/test/test_sourcehook/test_sourcehook -v