Add travis-ci integration

This commit is contained in:
Rapptz 2014-08-04 20:07:06 -04:00
parent 68c89c53b9
commit 43e0217a63

21
.travis.yml Normal file
View File

@ -0,0 +1,21 @@
language: cpp
matrix:
include:
- cpp: gcc
env: COMPILER=g++-4.8
- cpp: clang
env: COMPILER=clang++
branches:
only:
- master
before_install:
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:saiarcot895/chromium-beta
- sudo apt-get --yes update
- sudo apt-get --yes install g++-4.8
- sudo apt-get --yes install ninja-build
- sudo apt-get --yes install liblua5.2-dev
script: ./bootstrap.py --cxx=$COMPILER && ninja