2015-11-23 06:07:25 -07:00
|
|
|
language: cpp
|
2015-11-24 07:26:05 -07:00
|
|
|
sudo: required
|
2015-11-23 06:07:25 -07:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- cmake
|
|
|
|
- libsdl1.2-dev
|
|
|
|
- liblua5.1-0-dev
|
|
|
|
- libtolua++5.1-dev
|
|
|
|
- libtolua-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
- libpng12-dev
|
|
|
|
before_script:
|
2015-11-24 07:26:05 -07:00
|
|
|
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get install libtolua++5.1-dev; fi
|
|
|
|
- if [ $TRAVIS_OS_NAME == osx ]; then brew install lua51; fi
|
2015-11-23 06:07:25 -07:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
|
|
|
script: cd build && make
|