Commit Graph
60 Commits
Author SHA1 Message Date
jackpoz e9e59e0861 Dep/Jemalloc: Enable MADV_FREE if available
(cherry picked from commit 10ad43916fb67eaf59c5a676c83b36ec8506beec)
2021-02-25 18:50:55 +01:00
funjokerandGiacomo Pozzoni 6e324632bc CI/Circle CI: Prepare master for circle ci (#24386)
* Circle CI (#22982)

* Build/CI: Add Circle CI

* Fix travis

(cherry picked from commit cb6439bacd8b5d10ef2a4d2eb4e8ab2f950e4ffd)

* CI/CircleCI: Add parallel no-pch build

(cherry picked from commit 33c58b4aaf4afc8ca13c1d07c65d66e6beb6bedb)

* CI/CircleCI: Use ccache for nopch

(cherry picked from commit 6bcf5c64c489175da41acf7739f156319a00f5f9)

* CI/CircleCI: Change base docker image to custom-built trinitycore one

(cherry picked from commit 37beeb1282c24fc584f5f524279df408779c5d5b)

* CI/CircleCI: Switch to Ubuntu 18.10

(cherry picked from commit 6dfb4fde07082498a264ca0802ebdeb0bf3fa994)

* CI/CircleCI: Switch to Ubuntu 19.04

(cherry picked from commit 9009c82a8db2bdb433cba17820af8b0cef8e28e3)

* CI/Circle CI: Reduce ccache size from 5G to 1G

This should speedup Circle CI cache saving and in turn no-pch build

(cherry picked from commit 1b543ac16dd61ac6e1f8f00fee28156234c7e73f)

* CI/Circle CI: Adjust config for master branch

Co-authored-by: Giacomo Pozzoni <[email protected]>
2020-04-04 14:58:56 +02:00
Aokromes bc88d3bc15 Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version

cherry pick of d18f8b94b0cb5182ef450bec5cafd3c5d74fd00a

Running this command when reporting bugs is MANDATORY (you can censor paths)
2018-03-14 11:41:09 +01:00
Naios af7352118b Build: Set the minimum required compiler version to GCC 6.3
* This is the current GCC version of debian 9

(cherry picked from commit 5a9ccae3e1115d6fb1dcc287b1cb2d45779fd39b)
2017-12-20 04:04:27 +01:00
Shauren 38baf3800b Travis/CI: Always start mysql service 2017-06-09 21:59:24 +02:00
Shauren 77e38a1da3 Travis/CI: Switch to sudoless container mode and cleanup installed libraries 2017-06-09 17:18:56 +02:00
Shauren 271ca88f6d Travis/CI: Tune build configuration for fastest build time, PCH + Debug without generating debug info 2017-06-08 00:31:31 +02:00
Shauren 4bfba5a561 CI/Travis: Disable PCH and build without optimizations 2017-06-06 18:17:46 +02:00
Duarte Duarte d0b9521954 TravisCI: Rollback to using current Clang on Travis VMs
Change from Clang 3.9 to 3.5 (current version available).

3.9 was shown to take longer than 3.5 and having random segfaults here and there.
2017-01-03 16:48:44 +00:00
DDuarte 5e845b97bd TravisCI: Clang 3.9 2016-12-29 23:46:21 +00:00
Duarte Duarte 49ac4ab623 Update .travis.yml
Ref https://docs.travis-ci.com/user/build-environment-updates/2016-12-02/
2016-12-02 18:13:13 +00:00
DDuarte da2026e764 Yet more 6.x -> master renames 2016-10-16 20:42:14 +01:00
Duarte Duarte f5b6fa46a7 .travis.yml: fix path to the update sql files 2016-08-29 00:43:51 +01:00
jackpoz 11175b148e Travis: Remove unneeded apt-get update
(cherry picked from commit 24ac2bb9be5099b67edfd3239ab2ec8c12362a7a)
2016-06-02 14:41:55 +02:00
jackpoz a6731f9a97 Travis: Move to Ubuntu 14.04 Trusty Travic-CI from Ubuntu 12.04
(cherry picked from commit 21ee9be110b20b95e319c8aa14d64083fbf33736)

# Conflicts:
#	.travis.yml
2016-06-01 21:20:30 +02:00
Naios e3a583646e Contrib: Fix the check_update scripts after the recent organization changes
* Fixes the travis build
* Ref 8778829a98
2016-04-17 17:36:40 +02:00
DDuarte 37a79bde97 Travis: Remove libzmq apt-get 2016-04-16 20:38:45 +01:00
Naios 848b8a4136 Core/Scripts: Split script subdirectories into independent modules
* Makes it possible to define the linkage for every module
* Move the ScriptPCH into the root directory
* Changes the SCRIPTS cmake variable to a string type:
  -> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now
     (builds commands and spells statically)
  -> -DSCRIPTS=1 is -DSCRIPTS="static" now
     (builds all modules statically)
  -> -DSCRIPTS="dynamic"
     (builds all modules dynamically)
  -> Also the default value which is provided by the SCRIPTS
     variable is overwriteable through the SCRIPTS_COMMANDS,
     SCRIPTS_SPELLS... variable.
2016-04-11 21:13:58 +02:00
Shauren 373d7104c1 Travis: Configure fake user for tagging 2016-03-31 23:46:17 +02:00
Shauren 03917c79cd Travis: Fixed git version info output 2016-03-31 23:39:53 +02:00
Naios f4e0945b13 Core/Build: Add the possibility to link libraries dynamically.
* makes it possible to access exported singletons from other shared lib's.
* reduces binary size
2016-03-24 01:28:55 +01:00
Naios fee9bb904a Travis: Upgrade CMake to version 3.2
* Since we require at least version 3.0 now

(cherry picked from commit 87bc353b3446fb95e141d44fe49da3e5059f7436)
2016-03-19 23:19:49 +01:00
Shauren 81488366c0 Travis: Upgrade clang to 3.5
(cherry picked from commit ba3c54323bc6a53539dbf4bfba9a50aa2c307d6f)
2015-10-30 20:18:10 +01:00
Shauren b9e7b54637 Travis: Added -k flag to make call so as many errors as possible are displayed instead of failing after the first one
(cherry picked from commit 53d56551bedefc8409b75bbea8fdd4d89e50c682)
2015-10-30 20:18:10 +01:00
Naios be53a45a39 Travis: Add check for update entries not listed in base dumps.
* Will mark the travis build as failed when the database updater is broken.

(cherry picked from commit 4dd6070c795fa7b34a38af0bd8d19d55bbc62959)
2015-10-05 23:36:04 +02:00
StormBytePP 196f935cd8 Core/Taxi: Implemented taxi routes, thanks to @MitchesD patch for initial work, and @Shauren for IDA help
Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Player/Player.h
	src/server/game/Handlers/TaxiHandler.cpp
2015-09-14 01:51:38 +02:00
Shauren 3308a90fee Build fixes 2015-08-30 00:49:40 +02:00
jackpoz 08f11ed515 CI/Travis: Report travis build as broken if new build warnings get added to the sources
(cherry picked from commit 2b6ddce59b2e1f7bff83f904813ef86acecf243d)
2015-07-03 01:16:44 +01:00
Duarte Duarte 455ef1a64a Update .travis.yml
Change libmysqlclient15-dev to libmysqlclient-dev
2015-04-28 09:12:30 +01:00
Nayd c6433e21fb Update .travis.yml 2015-03-21 17:20:29 +00:00
Naios 352012e531 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 ,-)

Signed-off-by: Naios <[email protected]>
Signed-off-by: Nayd <[email protected]>
2015-03-21 14:09:38 +00:00
Rat 60e377bd3e Core/Spells: some crash fixes 2014-11-27 15:11:43 +01:00
Rat 33b9980e62 travis test build 2014-11-24 19:09:15 +01:00
bloerwald ff0f84e3aa Tools/connection_patcher: remove c# code, add c++ code with minor modification, move to tools, integrate into cmake
note: no longer downloads nonexistent modules
note: now throws on not finding patterns
new dependency: boost.filesystem

Closes #13471
2014-10-28 18:33:19 +00:00
DDuarte 6c11194e62 DB: Create hotfixes_database.sql file and update .travis.yml to import hotfixes
Note: hotfixes_database.sql will be empty until the next TDB release

And here's a friendly reminder that trinity now uses 4 DBs: characters, auth, world and hotfixes
2014-10-19 23:57:47 +01:00
Shauren 457c93bc4b Tools/Extractors: Updated vmap_extractor for 6.0.2 2014-10-19 14:02:08 +02:00
Duarte Duarte 6db44efbf2 CI/Travis: Disabling Tools compile temporarily 2014-10-19 05:15:26 +01:00
Shauren 130bceac9d CI/Travis: Use a different ZeroMQ package for travis only 2014-10-18 12:04:22 +02:00
Shauren 552b64f1cb CI/Travis: Added libzmq-dev to install list 2014-10-18 11:58:21 +02: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