summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: a1f5b48ddf4d3efe9132ecde3f289b6dd8dc6f40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
language: cpp
compiler:
  - gcc
  - clang
before_install:
  - if [ $CC = "clang" ]; then export PATH="/usr/bin/:$PATH"; sudo sh -c 'echo "deb http://ppa.launchpad.net/eudoxos/llvm-3.1/ubuntu precise main" >> /etc/apt/sources.list'; sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-keys 92DE8183; sudo apt-get update; sudo apt-get install llvm-3.1; sudo apt-get install clang; fi
  - sudo apt-get install libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev
script:
  - mkdir -p travisbuild
  - cd travisbuild
  - cmake ..
  - make -j2
notifications:
  email: false
matrix:
  fast_finish: true