1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-01 13:24:25 +01:00
HLMetaModOfficial/.travis.yml

33 lines
1013 B
YAML
Raw Normal View History

2015-09-25 04:17:47 +02:00
addons:
apt:
packages:
- clang-3.7
2015-09-25 04:17:47 +02:00
- lib32stdc++6
- lib32z1-dev
- libc6-dev-i386
- linux-libc-dev
- g++-multilib
- g++-4.8
sources:
- llvm-toolchain-precise-3.7
2015-09-25 04:17:47 +02:00
- ubuntu-toolchain-r-test
2015-04-11 16:34:10 +02:00
language: cpp
2015-09-25 04:17:47 +02:00
sudo: false
2015-04-11 16:34:10 +02:00
compiler:
- clang
before_script:
- CHECKOUT_DIR=$PWD && cd .. && $CHECKOUT_DIR/support/checkout-deps.sh && cd $CHECKOUT_DIR
script:
- mkdir build && cd build
2015-09-25 04:17:47 +02:00
- PATH="~/.local/bin:$PATH"
- CC=clang-3.7 CXX=clang-3.7 python ../configure.py --enable-optimize --sdks=episode1,tf2,l4d2,csgo,dota
2015-09-25 04:17:47 +02:00
- ambuild
2015-09-25 03:58:00 +02:00
- 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=
2015-09-25 03:58:00 +02:00
- 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=
2015-09-25 03:58:00 +02:00
- ambuild
- ./core/sourcehook/test/test_sourcehook/test_sourcehook -v