Commit Graph
25 Commits
Author SHA1 Message Date
Naios 4dd6070c79 Travis: Add check for update entries not listed in base dumps.
* Will mark the travis build as failed when the database updater is broken.
2015-10-05 23:29:34 +02:00
jackpoz 2b6ddce59b CI/Travis: Report travis build as broken if new build warnings get added to the sources 2015-07-02 20:34:54 +02:00
Aokromes 8bb87420f5 Update .travis.yml 2015-04-28 10:35:42 +02:00
Naios 2bd1c8541d Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

(cherry picked from commit 352012e53173372ebc82898e1b6854c983b01b25)
(cherry picked from commit 1f7f9feafc3f5017d617634ae993d2cdf4430920)

For 3.3.5:
* Synchronized ConfigureBoost.cmake with 6.x, libboost-filesystem1.55-dev also added as dependency!

Signed-off-by: Naios <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-21 20:54:54 +00:00
Duarte Duarte c65b407e3b CI/Travis: Yet another attempt at reducing the number of killed builds 2014-09-09 22:31:10 +01:00
Gacko 219710d37c CI/Travis: One last... use root to drop databases 2014-08-26 19:42:00 +02:00
Gacko fc3e059b10 CI/Travis: Remove $file from previous commit 2014-08-26 19:39:48 +02:00
Gacko ecd52cd450 CI/Travis: Add password and use cat for import
Forgot in e08efb89e4
2014-08-26 19:38:40 +02:00
Duarte Duarte e08efb89e4 CI/Travis: Use the created trinity user instead of root to test sql imports
Also increase parallel build to 10 from 4 (if it is going to fail anyway it can at least fail fast)
2014-08-26 18:27:31 +01:00
DDuarte 98fb33003c Revert "CI/Travis: Change to gcc in an attempt to reduce the number of killed builds"
This reverts commit 32673f63c5.
2014-08-24 19:18:24 +01:00
DDuarte 32673f63c5 CI/Travis: Change to gcc in an attempt to reduce the number of killed builds 2014-08-24 17:25:02 +01:00
DDuarte 0affa9168c SQLs: Move world_database.sql to dev folder
Simply because people can't read instruction guides...
2014-08-04 14:11:03 +01:00
Duarte Duarte a99bf38d81 CI/Travis: Do not use Jemalloc
It generates a lot of warnings and it is not useful to test build
2014-08-03 15:52:16 +01:00
DDuarte 64c8c47622 CI/Travis: Add steps to create databases and import SQLs
This way the automated build with error if sqls contain errors.
Do NOT import world_database.sql, keep using TDB releases.
2014-07-28 23:23:27 +01:00
DDuarte 7024dee19b CI/Travis: Fix typo added in previous commit 2014-07-27 15:35:31 +01:00
DDuarte f162bce473 CI/Travis: Compile all branches
Also added master and 4.3.4 build status to the README
2014-07-27 15:29:02 +01:00
Duarte Duarte d94e1d5448 Misc/Travis: Tune down the amount of parallel builds and disable PCH 2014-07-21 19:21:38 +01:00
Duarte Duarte 3b49de24e9 Misc/Travis: Remove Coverity addon
It was a good idea but it doesn't work in pratice.
2014-07-21 01:26:49 +01:00
DDuarte e9418807e6 Misc/Travis: Fix Coverity addon and compile in no-pch mode 2014-07-20 20:17:14 +01:00
DDuarte f8cf98bff5 Misc/Travis: Add a notification email to Covery addon 2014-07-20 19:58:44 +01:00
DDuarte e7f9df192c Misc/Travis: Enable Travis in the coverity_scan branch & add coverity badge to readme 2014-07-20 19:38:43 +01:00
DDuarte 7366102e80 Misc/Travis: Add Coverity Scan addon 2014-07-20 19:27:04 +01:00
DDuarte 37e69bcb88 Misc/Travis: Remove outdated dependencies and add IRC notifications 2014-07-20 18:16:55 +01:00
DDuarte 6583d29b05 Misc/Travis: Use clang instead of gcc 2014-07-20 17:52:17 +01:00
DDuarte eafd9030fd Misc: Use Travis CI 2014-07-20 17:49:24 +01:00