Adding travis ci support

This commit is contained in:
marynate 2014-07-02 20:05:42 +08:00
parent ecea1f34d3
commit 6a9ef50cfc

14
.travis.yml Normal file
View file

@ -0,0 +1,14 @@
language: cpp
compiler:
- gcc
before_install:
before_script:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -qq scons pkg-config libx11-dev libxcursor-dev build-essential libasound2-dev libfreetype6-dev libgl1-mesa-dev libglu-dev
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
script: scons bin/godot