2014-08-05 08:07:06 +08:00
|
|
|
language: cpp
|
2016-02-25 02:17:26 +08:00
|
|
|
|
2016-02-25 22:26:52 +08:00
|
|
|
git:
|
|
|
|
depth: 5
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
env: COMPILER=g++-4.9 LUA_VERSION=lua52
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-02-26 02:53:56 +08:00
|
|
|
- ubuntu-toolchain-r-test
|
2016-02-25 22:26:52 +08:00
|
|
|
packages:
|
|
|
|
- gcc-4.9
|
2016-02-26 02:53:56 +08:00
|
|
|
- g++-4.9
|
2016-02-25 22:26:52 +08:00
|
|
|
- ninja-build
|
|
|
|
- liblua5.2-dev
|
|
|
|
|
|
|
|
# gcc-5
|
|
|
|
- os: linux
|
|
|
|
env: COMPILER=g++-4.9 LUA_VERSION=luajit51
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-02-26 02:53:56 +08:00
|
|
|
- ubuntu-toolchain-r-test
|
2016-02-25 22:26:52 +08:00
|
|
|
packages:
|
|
|
|
- gcc-4.9
|
|
|
|
- g++-4.9
|
2016-02-26 02:53:56 +08:00
|
|
|
- ninja-build
|
|
|
|
- libluajit-5.1-dev
|
2016-02-25 22:26:52 +08:00
|
|
|
|
|
|
|
# gcc-5
|
|
|
|
- os: linux
|
|
|
|
env: COMPILER=g++-5 LUA_VERSION=lua52
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-02-26 02:53:56 +08:00
|
|
|
- ubuntu-toolchain-r-test
|
2016-02-25 22:26:52 +08:00
|
|
|
packages:
|
|
|
|
- gcc-5
|
|
|
|
- g++-5
|
2016-02-26 02:53:56 +08:00
|
|
|
- ninja-build
|
|
|
|
- liblua5.2-dev
|
2016-02-25 22:26:52 +08:00
|
|
|
|
|
|
|
# gcc-5
|
|
|
|
- os: linux
|
|
|
|
env: COMPILER=g++-5 LUA_VERSION=luajit51
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-02-26 02:53:56 +08:00
|
|
|
- ubuntu-toolchain-r-test
|
2016-02-25 22:26:52 +08:00
|
|
|
packages:
|
|
|
|
- gcc-5
|
|
|
|
- g++-5
|
2016-02-26 02:53:56 +08:00
|
|
|
- ninja-build
|
|
|
|
- libluajit-5.1-dev
|
|
|
|
|
2016-02-27 01:23:22 +08:00
|
|
|
# clang
|
2016-02-26 02:53:56 +08:00
|
|
|
- os: linux
|
|
|
|
env: COMPILER=clang++-3.5 LUA_VERSION=lua52
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.5
|
|
|
|
packages:
|
2016-02-26 02:56:12 +08:00
|
|
|
- gcc-4.9
|
|
|
|
- g++-4.9
|
2016-02-26 02:53:56 +08:00
|
|
|
- clang-3.5
|
|
|
|
- ninja-build
|
|
|
|
- liblua5.2-dev
|
2016-02-25 22:26:52 +08:00
|
|
|
|
|
|
|
- os: linux
|
|
|
|
env: COMPILER=clang++-3.6 LUA_VERSION=lua52
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-02-26 02:53:56 +08:00
|
|
|
- ubuntu-toolchain-r-test
|
2016-02-25 22:26:52 +08:00
|
|
|
- llvm-toolchain-precise-3.6
|
|
|
|
packages:
|
|
|
|
- clang-3.6
|
2016-02-26 02:53:56 +08:00
|
|
|
- ninja-build
|
|
|
|
- liblua5.2-dev
|
2016-02-25 22:26:52 +08:00
|
|
|
|
|
|
|
- os: linux
|
|
|
|
env: COMPILER=clang++-3.6 LUA_VERSION=luajit51
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
2016-02-26 02:53:56 +08:00
|
|
|
- ubuntu-toolchain-r-test
|
2016-02-25 22:26:52 +08:00
|
|
|
- llvm-toolchain-precise-3.6
|
|
|
|
packages:
|
|
|
|
- clang-3.6
|
2016-02-26 03:55:15 +08:00
|
|
|
- ninja-build
|
|
|
|
- libluajit-5.1-dev
|
2016-02-25 22:26:52 +08:00
|
|
|
|
2016-02-27 01:23:22 +08:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7
|
|
|
|
compiler: gcc
|
|
|
|
env: COMPILER=g++-4.9 LUA_VERSION=lua53
|
|
|
|
|
2016-02-25 22:26:52 +08:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7
|
|
|
|
compiler: gcc
|
|
|
|
env: COMPILER=g++-5 LUA_VERSION=lua53
|
2016-02-27 01:23:22 +08:00
|
|
|
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7
|
|
|
|
compiler: clang
|
|
|
|
env: COMPILER=appleclang LUA_VERSION=lua53
|
|
|
|
|
|
|
|
allow_failures:
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
|
|
|
|
2014-08-05 08:07:06 +08:00
|
|
|
before_install:
|
2016-02-25 22:26:52 +08:00
|
|
|
- source ./install.deps.sh
|
|
|
|
|
|
|
|
install:
|
|
|
|
- install_os_deps
|
|
|
|
|
|
|
|
script:
|
|
|
|
- echo "Configuration info:"
|
|
|
|
- export_compiler_vars
|
|
|
|
- ninja --version
|
|
|
|
- ./bootstrap.py --ci && ninja
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|