mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
- use random DB names in order to detect statements which address a specific DB - split compilation and DB check (DB check and dry run only have to run once) - use separate shell scripts for easier module Travis integration
17 lines
667 B
Bash
Executable File
17 lines
667 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "compile core"
|
|
export CCACHE_CPP2=true
|
|
ccache -s
|
|
timeout 2580 bash ./acore.sh "compiler" "all"
|
|
ccache -s
|
|
|
|
if [ "$TRAVIS_BUILD_ID" = "1" ]
|
|
then
|
|
echo "start worldserver dry-run"
|
|
git clone --depth=1 --branch=master --single-branch https://github.com/ac-data/ac-data.git /home/travis/build/azerothcore/azerothcore-wotlk/env/dist/data
|
|
sed -e "s/;;acore_auth/;$DB_RND_NAME;auth_$DB_RND_NAME/" -e "s/;;acore_world/;$DB_RND_NAME;world_$DB_RND_NAME/" -e "s/;;acore_characters/;$DB_RND_NAME;characters_$DB_RND_NAME/" ./data/travis/worldserver.conf >./env/dist/etc/worldserver.conf
|
|
./env/dist/bin/worldserver --dry-run
|
|
./apps/ci/ci-error-check.sh
|
|
fi
|