2014-08-05 08:07:06 +08:00
|
|
|
language: cpp
|
|
|
|
|
2016-02-25 02:17:26 +08:00
|
|
|
git:
|
|
|
|
depth: 5
|
|
|
|
|
2016-02-25 11:29:15 +08:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
2016-02-25 11:38:05 +08:00
|
|
|
|
2016-02-25 02:17:26 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2016-02-25 11:29:15 +08:00
|
|
|
env: COMPILER=g++-4.8 LUA=lua52
|
2016-02-25 02:17:26 +08:00
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2016-02-25 11:29:15 +08:00
|
|
|
- gcc-4.8
|
|
|
|
- g++-4.8
|
2016-02-25 02:17:26 +08:00
|
|
|
- ninja-build
|
2016-02-25 11:29:15 +08:00
|
|
|
- liblua5.3-dev
|
|
|
|
|
2016-02-25 02:17:26 +08:00
|
|
|
- os: linux
|
2016-02-25 11:29:15 +08:00
|
|
|
env: COMPILER=clang++-3.4 LUA=lua53
|
2016-02-25 02:17:26 +08:00
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2016-02-25 11:29:15 +08:00
|
|
|
- clang++-3.4
|
|
|
|
- ninja-build
|
|
|
|
- liblua5.3-dev
|
2014-08-05 08:07:06 +08:00
|
|
|
|
|
|
|
before_install:
|
2016-02-25 11:29:15 +08:00
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq
|
2016-02-25 02:17:26 +08:00
|
|
|
|
|
|
|
script:
|
|
|
|
- echo "Configuration info:"
|
|
|
|
- export_compiler_vars
|
|
|
|
- ninja --version
|
|
|
|
- ./bootstrap.py --ci && ninja
|