Update .travis.yml

This commit is contained in:
Rapptz 2014-08-04 20:53:43 -04:00
parent d245860334
commit 721c6f1dae

View File

@ -1,10 +1,7 @@
language: cpp
matrix:
include:
- cpp: gcc
env: COMPILER=g++-4.8
- cpp: clang
env: COMPILER=clang++
compiler:
- gcc
- clang
branches:
only:
@ -14,8 +11,8 @@ 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
- if [ "$CXX" == "g++" ]; then sudo apt-get --yes install g++-4.8; export CXX=g++-4.8; fi
- sudo apt-get --yes install ninja-build
- sudo apt-get --yes install liblua5.2-dev
script: ./bootstrap.py --ci --cxx=$COMPILER && ninja
script: ./bootstrap.py --ci --cxx=$CXX && ninja