Commit 6ecfb9e5 authored by 聖園ミカ's avatar 聖園ミカ 🐟

md

parent 529d64a6
language: cpp
dist: xenial
git:
submodules: false
addons:
ssh_known_hosts:
- github.com
apt:
packages:
- libevent-dev
- libsqlite3-dev
env:
- DATABASE_FILE=expansions/222DIY.cdb
before_install:
- git config --global user.name purerosefallen
- git config --global user.email 78877@qq.com
- git clone --depth=1 --branch=server --recursive https://github.com/purerosefallen/ygopro
- cd ygopro
- git submodule foreach git checkout master
- ln -s ./../expansions .
- wget -O - https://github.com/premake/premake-core/releases/download/v5.0.0-alpha13/premake-5.0.0-alpha13-linux.tar.gz | tar zfx -
- ./premake5 gmake
- cd build
- make config=release
- cd ..
- mv -f ./bin/release/ygopro .
- strip ygopro
- mkdir replay
script:
- echo "select id from datas;" | sqlite3 $DATABASE_FILE | xargs -I {} ./ygopro {} 2>&1 | tee ../redtext.txt
- cd ..
- bash -c "exit $(cat ./redtext.txt | wc -l)"
- git add ./redtext.txt
- git commit -m "test redtext of $TRAVIS_COMMIT"
- git push -f https://$NANAHIRA@github.com/purerosefallen/ygopro-222DIY-cards HEAD:redtext
branches:
only:
- master
[YGOProExpansionPack]
FileName = ygopro-FiNALE-diycards.ypk
PackName = ygopro-FiNALE-diycards
PackAuthor = FiNALE
PackHomePage = https://koishi.pro/
[YGOMobileAddServer]
ServerName = FiNALE
ServerHost = finale.momobako.com
ServerPort = 222
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment