Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baichixing
ygopro
Commits
71ac151f
Commit
71ac151f
authored
Jul 29, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test1
parent
38c9a290
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
105 deletions
+2
-105
.travis.yml
.travis.yml
+2
-9
appveyor.yml
appveyor.yml
+0
-96
No files found.
.travis.yml
View file @
71ac151f
language
:
cpp
language
:
cpp
os
:
os
:
-
linux
-
osx
-
osx
env
:
env
:
matrix
:
matrix
:
-
locale
:
zh-CN
-
locale
:
zh-CN
-
locale
:
en-US
sudo
:
required
sudo
:
required
dist
:
trusty
dist
:
trusty
osx_image
:
xcode8
osx_image
:
xcode8
...
@@ -57,8 +55,6 @@ before_deploy:
...
@@ -57,8 +55,6 @@ before_deploy:
-
cp locales/${locale}/* .
-
cp locales/${locale}/* .
-
mkdir replay
-
mkdir replay
-
mkdir pics
-
mkdir pics
-
curl --location --retry 5 --output "ygopro-images-${locale}.zip" https://github.com/moecube/ygopro-images/releases/download/latest/ygopro-images-${locale}.zip
-
unzip -q -d pics ygopro-images-${locale}.zip
-
curl --location --retry 5 --output 'ygopro-starter-pack-master.zip' https://github.com/moecube/ygopro-starter-pack/archive/master.zip
-
curl --location --retry 5 --output 'ygopro-starter-pack-master.zip' https://github.com/moecube/ygopro-starter-pack/archive/master.zip
-
unzip -q ygopro-starter-pack-master.zip
-
unzip -q ygopro-starter-pack-master.zip
-
mv ygopro-starter-pack-master/* .
-
mv ygopro-starter-pack-master/* .
...
@@ -71,13 +67,10 @@ before_deploy:
...
@@ -71,13 +67,10 @@ before_deploy:
deploy
:
deploy
:
provider
:
releases
provider
:
releases
file
:
file
:
-
ygopro-
$TRAVIS_TAG-$TRAVIS_OS_NAME
-${locale}.tar.gz
-
ygopro-
mac-test
-${locale}.tar.gz
skip_cleanup
:
true
skip_cleanup
:
true
overwrite
:
true
on
:
on
:
tags
:
true
tags
:
true
api-key
:
api-key
:
secure
:
j7YxYAyoQr1albVJIypwloeJXtZMj11FtqmCDyJ8QGiFk2431o0KMNvN1tC2pK/x08ntN5iVzwEfWh7owDSBeu1HDJo7H7w69s5Rt3UfJE4bw5G2RM6PhG8ZQBwIPkXyXULPTjj3YQRFvcPdBusndQVPhFe/staGLa/t+KOzMyw=
secure
:
j7YxYAyoQr1albVJIypwloeJXtZMj11FtqmCDyJ8QGiFk2431o0KMNvN1tC2pK/x08ntN5iVzwEfWh7owDSBeu1HDJo7H7w69s5Rt3UfJE4bw5G2RM6PhG8ZQBwIPkXyXULPTjj3YQRFvcPdBusndQVPhFe/staGLa/t+KOzMyw=
branches
:
only
:
-
master
-
/\d+\..+/
appveyor.yml
deleted
100644 → 0
View file @
38c9a290
version
:
'
{build}'
environment
:
matrix
:
-
locale
:
zh-CN
# - locale: ja-JP
-
locale
:
en-US
install
:
# fix tar xz
-
set PATH=%PATH%;C:\MinGW\msys\1.0\bin
# submodules
-
git submodule update --init --recursive
# environment and system dependency
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-alpha10/premake-5.0.0-alpha10-windows.zip ; exit 0"
-
7z x premake-5.0.0-alpha10-windows.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
tar xf libevent-2.0.22-stable.tar.gz
-
move libevent-2.0.22-stable event
-
xcopy /E event\WIN32-Code event\include
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/freetype/freetype-2.7.tar.bz2 ; exit 0"
-
tar xf freetype-2.7.tar.bz2
-
move freetype-2.7 freetype
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name http://downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip ; exit 0"
-
7z x irrlicht-1.8.4.zip
-
md irrlicht
-
move irrlicht-1.8.4\source\Irrlicht irrlicht\src
-
move irrlicht-1.8.4\include irrlicht\include
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.2.4.tar.gz ; exit 0"
-
tar xf lua-5.2.4.tar.gz
-
move lua-5.2.4\src lua
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2016/sqlite-amalgamation-3150200.zip ; exit 0"
-
7z x sqlite-amalgamation-3150200.zip
-
move sqlite-amalgamation-3150200 sqlite3
# let premake happy
-
xcopy /E premake\* .
# patch irrlicht
-
patch -p1 < irrlicht\irrlicht.patch
# premake
-
premake5 vs2015
configuration
:
Release
build
:
project
:
build/ygo.sln
parallel
:
true
after_build
:
-
mv bin\release\ygopro.exe .
-
curl --location --retry 5 https://github.com/moecube/ygopro-database/archive/master.tar.gz | tar --strip-components=1 -zxf - ygopro-database-master/locales
-
cp locales/%locale%/* .
-
mkdir replay
-
mkdir pics
-
curl --location --retry 5 --output ygopro-images-%locale%.zip https://github.com/moecube/ygopro-images/releases/download/latest/ygopro-images-%locale%.zip
-
unzip -q -d pics ygopro-images-%locale%.zip
-
curl --location --retry 5 --output ygopro-starter-pack-master.zip https://github.com/moecube/ygopro-starter-pack/archive/master.zip
-
unzip -q ygopro-starter-pack-master.zip
-
mv ygopro-starter-pack-master/* .
-
tar -zcf ygopro-%APPVEYOR_REPO_TAG_NAME%-win32-%locale%.tar.gz --format=posix --exclude='.git*' ygopro.exe LICENSE README.md lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay
test
:
off
artifacts
:
-
path
:
ygopro-$(APPVEYOR_REPO_TAG_NAME)-win32-$(locale).tar.gz
name
:
ygopro
deploy
:
description
:
'
Automatic
build'
provider
:
GitHub
auth_token
:
secure
:
dAqGTWGo387j9Kaot54scDTRWzXGb3DBVPVcOIzQhNAvSt3WCvXA6xBYIFvPH4pQ
# your encrypted token from GitHub
on
:
appveyor_repo_tag
:
true
# deploy on tag push only
branches
:
only
:
-
master
-
/\d+\..+/
cache
:
-
premake-5.0.0-alpha10-windows.zip
-
libevent-2.0.22-stable.tar.gz
-
freetype-2.7.tar.bz2
-
irrlicht-1.8.4.zip
-
lua-5.2.4.tar.gz
-
sqlite-amalgamation-3150200.zip
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment