mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Misc: Use Travis CI
This commit is contained in:
23
.travis.yml
Normal file
23
.travis.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
language: cpp
|
||||
compiler:
|
||||
- gcc
|
||||
|
||||
before_install:
|
||||
- echo "yes" | sudo add-apt-repository ppa:kalakris/cmake
|
||||
- echo "yes" | sudo add-apt-repository ppa:boost-latest/ppa
|
||||
- echo "yes" | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install build-essential autoconf libtool gcc-4.8 g++-4.8 make cmake libace-dev openssl libssl-dev libmysqlclient15-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev libboost1.55-dev libboost-thread1.55-dev libboost-system1.55-dev libboost-program-options1.55-dev
|
||||
- mkdir bin
|
||||
- cd bin
|
||||
- cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=1 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1
|
||||
|
||||
script: make CFLAGS='-O0' CXXFLAGS='-O0' -j8
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- 4.3.4
|
||||
|
||||
git:
|
||||
depth: 1
|
||||
Reference in New Issue
Block a user