2014-01-30 23:22:52 -05:00
|
|
|
# Travis-CI configuration file for SuperTuxKart
|
|
|
|
#
|
|
|
|
# Configuration manual:
|
|
|
|
# http://docs.travis-ci.com/user/build-configuration/
|
|
|
|
#
|
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- gcc
|
2014-03-18 19:57:50 -04:00
|
|
|
# - clang
|
2014-01-30 23:22:52 -05:00
|
|
|
#branches:
|
|
|
|
# only:
|
|
|
|
# - master
|
|
|
|
before_install:
|
2014-04-10 02:41:02 -04:00
|
|
|
# Update repos
|
2014-01-30 23:22:52 -05:00
|
|
|
- sudo apt-get update -qq
|
2014-04-10 02:41:02 -04:00
|
|
|
# Install dependencies
|
|
|
|
- sudo apt-get install build-essential cmake libogg-dev libvorbis-dev libopenal-dev libxxf86vm-dev libcurl4-openssl-dev libfribidi-dev libbluetooth-dev
|
|
|
|
# Install mesa from an other repo (a newer version is required)
|
2014-04-10 02:15:29 -04:00
|
|
|
- sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu quantal main restricted"
|
2014-04-10 02:50:45 -04:00
|
|
|
- sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
|
2014-04-10 02:15:29 -04:00
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
|
2014-01-30 23:22:52 -05:00
|
|
|
script:
|
2014-04-10 02:41:02 -04:00
|
|
|
# Build commands
|
2014-03-18 20:38:27 -04:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2014-04-24 00:22:38 -04:00
|
|
|
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCHECK_ASSETS=off
|
2014-03-18 20:38:27 -04:00
|
|
|
- make VERBOSE=1 -j 4
|
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}"
|