2015-11-23 06:07:25 -07:00
|
|
|
language: cpp
|
2015-12-08 03:43:24 -07:00
|
|
|
# sudo: required
|
2015-11-24 07:29:31 -07:00
|
|
|
# compiler:
|
|
|
|
# - gcc
|
|
|
|
# - clang
|
2015-11-23 06:07:25 -07:00
|
|
|
os:
|
|
|
|
- linux
|
2015-11-24 07:29:31 -07:00
|
|
|
- osx
|
2015-11-23 06:07:25 -07:00
|
|
|
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:40:49 -07:00
|
|
|
- "if [ $TRAVIS_OS_NAME == osx ]; then brew install lua51 sdl; \
|
|
|
|
git clone https://github.com/LuaDist/toluapp.git; \
|
2015-11-24 07:46:39 -07:00
|
|
|
cd toluapp; mkdir build;
|
|
|
|
cd build; cmake ..; make && sudo make install; \
|
|
|
|
cd ..;
|
2015-11-24 07:41:53 -07:00
|
|
|
cd ..;
|
2015-11-24 07:40:49 -07:00
|
|
|
fi"
|
2015-11-23 06:07:25 -07:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ..
|
2015-11-24 07:29:31 -07:00
|
|
|
script: make
|