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
|
2016-07-23 19:12:59 -04:00
|
|
|
- cmake
|
2015-11-08 17:59:47 -05:00
|
|
|
- libbluetooth-dev
|
2016-07-23 19:12:59 -04:00
|
|
|
- libcurl4-gnutls-dev
|
|
|
|
- libfreetype6-dev
|
|
|
|
- libfribidi-dev
|
2015-11-08 17:59:47 -05:00
|
|
|
- libgl1-mesa-dev
|
2016-07-23 19:12:59 -04:00
|
|
|
- libjpeg-dev
|
|
|
|
- libogg-dev
|
|
|
|
- libopenal-dev
|
|
|
|
- libpng-dev
|
|
|
|
- libvorbis-dev
|
|
|
|
- libxrandr-dev
|
|
|
|
- mesa-common-dev
|
|
|
|
- pkg-config
|
|
|
|
- zlib1g-dev
|
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:
|
2016-03-08 21:21:37 -05:00
|
|
|
- "irc.freenode.org#supertuxkart"
|
2014-04-10 02:41:02 -04:00
|
|
|
skip_join: false
|
|
|
|
use_notice: true
|
|
|
|
template:
|
|
|
|
#- "[%{commit}: %{author}] %{message}"
|
|
|
|
#- "%{build_url}"
|
|
|
|
- "[%{repository}#%{branch} @%{commit}] %{author}): %{message}"
|
|
|
|
- "Diff: %{compare_url}"
|
|
|
|
- "Build: %{build_url}"
|