1 Star 0 Fork 1

JackQ/大灾变4.3.4

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
sudo: false
dist: trusty
language: cpp
compiler:
- clang
git:
depth: 1
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:kzemek/boost'
packages:
- g++-6
- libboost1.58-dev
- libboost-filesystem1.58-dev
- libboost-iostreams1.58-dev
- libboost-program-options1.58-dev
- libboost-regex1.58-dev
- libboost-system1.58-dev
- libboost-thread1.58-dev
- libssl-dev
- libmysqlclient-dev
- libreadline6-dev
- zlib1g-dev
- libbz2-dev
services:
- mysql
before_install:
- git config user.email "travis@build.bot" && git config user.name "Travis CI"
- git tag -a -m "Travis build" init
install:
- mysql -uroot -e 'create database test_mysql;'
- mkdir bin
- cd bin
- cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=0 -DUSE_COREPCH=1 -DUSE_SCRIPTPCH=1 -DTOOLS=1 -DSCRIPTS=dynamic -DSERVERS=1 -DNOJEM=1 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror" -DCMAKE_C_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_CXX_FLAGS_DEBUG="-DNDEBUG" -DCMAKE_INSTALL_PREFIX=check_install
- cd ..
- chmod +x contrib/check_updates.sh
script:
- $CXX --version
- mysql -uroot < sql/create/create_mysql.sql
- mysql -utrinity -ptrinity auth < sql/base/auth_database.sql
- ./contrib/check_updates.sh auth master auth
- mysql -utrinity -ptrinity characters < sql/base/characters_database.sql
- ./contrib/check_updates.sh characters master characters
- mysql -utrinity -ptrinity world < sql/base/dev/world_database.sql
- mysql -utrinity -ptrinity hotfixes < sql/base/dev/hotfixes_database.sql
- cat sql/updates/world/master/*.sql | mysql -utrinity -ptrinity world
- cat sql/updates/hotfixes/master/*.sql | mysql -utrinity -ptrinity hotfixes
- mysql -uroot < sql/create/drop_mysql.sql
- cd bin
- make -j 4 -k && make install
- cd check_install/bin
- ./bnetserver --version
- ./worldserver --version
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/jackq/catastrophe_434.git
git@gitee.com:jackq/catastrophe_434.git
jackq
catastrophe_434
大灾变4.3.4
master

搜索帮助