2014-01-30 23:22:52 -05:00
|
|
|
# Travis-CI configuration file for SuperTuxKart
|
|
|
|
#
|
|
|
|
# Configuration manual:
|
|
|
|
# http://docs.travis-ci.com/user/build-configuration/
|
|
|
|
#
|
2015-11-08 17:59:47 -05:00
|
|
|
sudo: false
|
2014-01-30 23:22:52 -05:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- gcc
|
2015-11-08 17:59:47 -05:00
|
|
|
- clang
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- BUILD_TYPE="Debug"
|
|
|
|
- BUILD_TYPE="Release"
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- build-essential
|
|
|
|
- libogg-dev
|
|
|
|
- libvorbis-dev
|
|
|
|
- libopenal-dev
|
|
|
|
- libxxf86vm-dev
|
|
|
|
- libcurl4-openssl-dev
|
|
|
|
- libfribidi-dev
|
|
|
|
- libbluetooth-dev
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libglu1-mesa-dev
|
|
|
|
- libglew-dev
|
|
|
|
- cmake
|
2015-11-08 17:07:12 -05:00
|
|
|
|
|
|
|
before_script:
|
2015-11-08 17:59:47 -05:00
|
|
|
- export THREADS=$((`nproc` + 1))
|
2015-11-08 17:07:12 -05:00
|
|
|
- echo "THREADS = $THREADS"
|
2015-11-08 17:59:47 -05:00
|
|
|
- free -mt
|
2015-11-08 17:07:12 -05:00
|
|
|
|
2014-01-30 23:22:52 -05:00
|
|
|
script:
|
2015-11-08 17:59:47 -05:00
|
|
|
- mkdir "build"
|
|
|
|
- cd "build"
|
|
|
|
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCHECK_ASSETS=off
|
2015-11-08 17:07:12 -05:00
|
|
|
- make VERBOSE=1 -j $THREADS
|
2014-07-23 19:26:27 -04:00
|
|
|
|
2014-04-10 02:41:02 -04:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "irc.freenode.org#stk"
|
|
|
|
skip_join: false
|
|
|
|
use_notice: true
|
|
|
|
template:
|
|
|
|
#- "[%{commit}: %{author}] %{message}"
|
|
|
|
#- "%{build_url}"
|
|
|
|
- "[%{repository}#%{branch} @%{commit}] %{author}): %{message}"
|
|
|
|
- "Diff: %{compare_url}"
|
|
|
|
- "Build: %{build_url}"
|