Add config for travis build service

This commit is contained in:
Eduardo Bart 2012-08-07 22:58:15 -03:00
parent 93fdd2e326
commit 584efb6ad2
2 changed files with 13 additions and 3 deletions

11
.travis.yml Normal file
View File

@ -0,0 +1,11 @@
language: cpp
compiler:
- gcc
before_script:
- sudo apt-get install libboost-all-dev libphysfs-dev libssl-dev liblua5.1-dev libglew1.6-dev libvorbis-dev libopenal-dev libz-dev
script: |
cmake . -DCMAKE_BUILD_TYPE=Release
make
notifications:
irc:
- "irc.freenode.org#otclient"

View File

@ -44,6 +44,5 @@ endif()
# installation # installation
set(DATA_INSTALL_DIR share/otclient) set(DATA_INSTALL_DIR share/otclient)
install(TARGETS otclient RUNTIME DESTINATION bin) install(TARGETS otclient RUNTIME DESTINATION bin)
install(FILES README.md BUGS LICENSE AUTHORS init.lua DESTINATION ${DATA_INSTALL_DIR}) install(FILES README.md TODO BUGS LICENSE AUTHORS init.lua otclientrc.lua DESTINATION ${DATA_INSTALL_DIR})
install(DIRECTORY modules DESTINATION ${DATA_INSTALL_DIR} install(DIRECTORY modules DESTINATION ${DATA_INSTALL_DIR} PATTERN ".git" EXCLUDE)
PATTERN ".git" EXCLUDE)