aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDDuarte <dnpd.dd@gmail.com>2014-07-20 17:49:24 +0100
committerDDuarte <dnpd.dd@gmail.com>2014-07-20 17:49:24 +0100
commiteafd9030fd854192bbb7e8deca1ad563eb1a64e2 (patch)
tree6628e4102de91d49a38e1e595f1d65efff404323
parent0dac38f8fbb0c4872b281e66903486dfea32c1de (diff)
Misc: Use Travis CI
-rw-r--r--.travis.yml23
-rw-r--r--README.md1
2 files changed, 24 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000000..364805e298c
--- /dev/null
+++ b/.travis.yml
@@ -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
diff --git a/README.md b/README.md
index 80eb03d9879..8e958a0bbb4 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
# ![logo](http://www.trinitycore.org/f/public/style_images/1_trinitycore.png) TrinityCore
+[![Build Status](https://travis-ci.org/TrinityCore/TrinityCore.svg?branch=master)](https://travis-ci.org/TrinityCore/TrinityCore)
## Introduction