2014-08-05 08:07:06 +08:00
|
|
|
language: cpp
|
2016-02-25 11:47:23 +08:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2016-02-25 02:17:26 +08:00
|
|
|
|
2016-02-25 11:29:15 +08:00
|
|
|
branches:
|
2016-02-25 11:47:23 +08:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
2014-08-05 08:07:06 +08:00
|
|
|
|
|
|
|
before_install:
|
2016-02-25 11:47:23 +08:00
|
|
|
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
|
|
|
- sudo add-apt-repository -y ppa:saiarcot895/chromium-beta
|
|
|
|
- sudo apt-get --yes update
|
|
|
|
- if [ "$CXX" == "g++" ]; then sudo apt-get --yes install g++-4.8; fi
|
|
|
|
- if [ "$CXX" == "g++" ]; then export CXX=g++-4.8; fi
|
|
|
|
- sudo apt-get --yes install ninja-build
|
|
|
|
- sudo apt-get --yes install liblua5.2-dev
|
|
|
|
- sudo apt-get --yes install libluajit-5.1-dev
|
2016-02-25 02:17:26 +08:00
|
|
|
|
2016-02-25 11:47:23 +08:00
|
|
|
script: ./bootstrap.py --ci --cxx=$CXX && ninja
|