1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-29 11:24:19 +01:00
HLMetaModOfficial/.travis.yml
2015-09-24 20:40:05 -07:00

35 lines
1.1 KiB
YAML

addons:
apt:
packages:
- clang-3.5
- lib32stdc++6
- lib32z1-dev
- libc6-dev-i386
- linux-libc-dev
- g++-multilib
- g++-4.8
sources:
- llvm-toolchain-precise-3.5
- 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 CXX=clang python ../configure.py --enable-optimize --sdks=episode1,tf2,l4d2,csgo,dota
- ambuild
- cd .. && mkdir build-sh-opt && cd build-sh-opt
- CC=clang CXX=clang python ../configure.py --enable-optimize --enable-tests --sdks=
- ambuild
- ./core/sourcehook/test/test_sourcehook/test_sourcehook -v
- ./core-legacy/sourcehook/test/test_sourcehook/test_sourcehook -v
- cd .. && mkdir build-sh-debug && cd build-sh-debug
- CC=clang CXX=clang python ../configure.py --enable-debug --enable-tests --sdks=
- ambuild
- ./core/sourcehook/test/test_sourcehook/test_sourcehook -v
- ./core-legacy/sourcehook/test/test_sourcehook/test_sourcehook -v