sourcemod/.travis.yml

34 lines
901 B
YAML
Raw Normal View History

addons:
apt:
packages:
- lib32stdc++6
- lib32z1-dev
- libc6-dev-i386
2015-04-02 19:46:49 +02:00
- linux-libc-dev
2015-07-15 01:44:52 +02:00
- g++-multilib
- g++-4.8
sources:
- ubuntu-toolchain-r-test
cache:
directories:
- ../mysql-5.0
2014-05-28 20:38:55 +02:00
language: cpp
sudo: false
2014-05-28 20:38:55 +02:00
compiler:
- clang
env:
global:
- LLVM_ARCHIVE_URI=http://sourcemod.net/clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
before_install:
- wget -nc $LLVM_ARCHIVE_URI -O $HOME/clang+llvm.tar.xz
- mkdir -p $HOME/clang+llvm
- tar -xf $HOME/clang+llvm.tar.xz -C $HOME/clang+llvm --strip-components 1
- export PATH=$HOME/clang+llvm/bin:$PATH
2014-05-28 20:38:55 +02:00
before_script:
- CHECKOUT_DIR=$PWD && cd .. && $CHECKOUT_DIR/tools/checkout-deps.sh && cd $CHECKOUT_DIR
script:
- mkdir build && cd build
- PATH="~/.local/bin:$PATH"
- CC=clang-3.8 CXX=clang-3.8 python ../configure.py --enable-optimize --sdks=episode1,tf2,l4d2,csgo,dota
- ambuild