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
|
2016-02-25 21:08:05 +08:00
|
|
|
- if [ "$CXX" == "g++" ]; then sudo apt-get --yes install g++-4.9; fi
|
|
|
|
- if [ "$CXX" == "g++" ]; then export CXX=g++-4.9; fi
|
|
|
|
- if [ "$CXX" == "clang++" ]; then sudo apt-get --yes install clang++-3.5; fi
|
|
|
|
- if [ "$CXX" == "clang++" ]; then export CXX=clang++-3.5; fi
|
2016-02-25 11:47:23 +08:00
|
|
|
- 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 16:36:21 +08:00
|
|
|
script:
|
|
|
|
- ./bootstrap.py --ci --lua-lib=lua5.2 --cxx=$CXX && ninja
|
2016-02-25 21:28:07 +08:00
|
|
|
- ./bootstrap.py --ci --lua-lib=luajit --cxx=$CXX && ninja
|