Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-images-generator
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
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
MyCard
ygopro-images-generator
Commits
6e1e637a
Commit
6e1e637a
authored
Dec 08, 2016
by
不如归去
Committed by
GitHub
Dec 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete appveyor.yml
This repo no longer trigger the ygopro-image update.
parent
500b88e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
56 deletions
+0
-56
appveyor.yml
appveyor.yml
+0
-56
No files found.
appveyor.yml
deleted
100644 → 0
View file @
500b88e2
environment
:
priv_key
:
secure
:
ek1AH0N8/KF6VoildmkHnu4TY1yBZcptm20AesAOanRSSGLFqkXeRxL80mHSXtiVY8ggtQNsEQR4M69gCiw1OPVWz4OAN6Vg6id6kho9GqYxWCdADbmffSNPB5leksRGjGmkAF99WHiOIZrLRUb6Bia91Fe5+SngPhI01GDDUZA2urv9x50uBBhc+kvV0bv7J5TeXDGr7tfZ3J2aL/3tf/WPqBkqjWlGAj99HTWpkIiQgwaBHoyBvEFD0uHa1BdSmI7PySGabbx4/4zqyGkO38Ce7t/Ntu/dgedzVxlXYfuiXDI8caAPZSVsJ9E2S3VKesZJzHtV9KM/8Xq0RFPythdC/qTvd2e3IAZGudZpgbUHGAHLJnCzn189Zm+Qle8CbbVuPNDcf1B/G/XwEU2MsDXGkF/kFxdeqbHgjzneyns=
matrix
:
-
locale
:
zh-CN
#- locale: ja-JP
#- locale: zh-Classical
version
:
'
{build}'
init
:
-
ps
:
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
cache
:
-
C:\ProgramData\chocolatey\bin
-
C:\ProgramData\chocolatey\lib
install
:
# ssh key and submodules
-
ps
:
$fileContent = "-----BEGIN EC PRIVATE KEY-----`n"
-
ps
:
$fileContent += $env:priv_key.Replace(' ', "`n")
-
ps
:
$fileContent += "`n-----END EC PRIVATE KEY-----`n"
-
ps
:
Set-Content c:\users\appveyor\.ssh\id_ecdsa $fileContent
-
git submodule update --init --recursive ImgGen magicseteditor ygopro-images-raw
# environment and system dependency
-
choco install imagemagick.tool
-
refreshenv
-
set PATH=C:\Ruby22\bin;%PATH%
# application dependency
-
bundle install
# data
-
mkdir ygopro-database
-
curl -L -o ygopro-database\%locale%.cdb https://github.com/mycard/ygopro-database/raw/master/cards.%locale%.cdb
-
mkdir ygopro-images
-
echo {} > ygopro-images/records.json
after_build
:
-
ruby generate.rb %locale%
-
bash -c 'ls -1 mse-sets/data*-$locale.mse-set | xargs -I {} -P 4 magicseteditor/mse.com --export {} "ygopro-images-mse/{card.gamecode}.png"'
-
mkdir ygopro-images\thumbnail
-
bash -c 'ls -1 ygopro-images-mse | sed -e 's/\.png$//' | xargs -I {} -P 4 magick ygopro-images-mse/{}.png -colorspace RGB -write mpr:image +delete \( mpr:image -resize 177x254! -colorspace sRGB -write "ygopro-images/{}.jpg" \) \( mpr:image -resize 44x64! -colorspace sRGB -write ygopro-images/thumbnail/{}.jpg \)'
artifacts
:
-
path
:
ygopro-images
name
:
ygopro-images-zh-CN
deploy
:
release
:
latest
description
:
'
Automatic
build'
provider
:
GitHub
auth_token
:
secure
:
itZ9Z1dxEpfPJLdTs/PiY98pVZ3GCLNWfid7eAu7SL88Jl9AIrf/3rviKFEbsnoY
# your encrypted token from GitHub
prerelease
:
true
force_update
:
true
on
:
branch
:
master
# release from master branch only
on_finish
:
-
ps
:
$blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
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