41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
# Travis-CI configuration file for SuperTuxKart
|
|
#
|
|
# Configuration manual:
|
|
# http://docs.travis-ci.com/user/build-configuration/
|
|
#
|
|
language: cpp
|
|
compiler:
|
|
- gcc
|
|
# - clang
|
|
#branches:
|
|
# only:
|
|
# - master
|
|
before_install:
|
|
# Update repos
|
|
- sudo apt-get update -qq
|
|
# 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)
|
|
- sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu quantal main restricted"
|
|
- sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
|
|
script:
|
|
# Build commands
|
|
- mkdir build
|
|
- cd build
|
|
- cmake .. -DCMAKE_BUILD_TYPE=Debug
|
|
- make VERBOSE=1 -j 4
|
|
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}"
|