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
nanahira
ygopro
Commits
c3ea2e8b
Commit
c3ea2e8b
authored
Dec 08, 2016
by
神楽坂玲奈
Committed by
GitHub
Dec 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .travis.yml
parent
3ee5257f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
.travis.yml
.travis.yml
+14
-2
No files found.
.travis.yml
View file @
c3ea2e8b
...
...
@@ -50,18 +50,30 @@ script:
codesign --deep --keychain build.keychain --sign "$(security find-identity -v -p codesigning build.keychain | head -1 | grep -o '".*"' | tr -d '"')" ygopro.app;
fi
before_deploy
:
-
curl --location --retry 5 'https://github.com/mycard/ygopro-database/archive/master.tar.gz' | tar --strip-components=1 -zxf - ygopro-database-master/locales
-
cp locales/zh-CN/* .
-
mkdir replay
-
tar -Jcf ygopro-lite-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude=ygopro-lite* ygopro* LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb locales replay
-
mkdir pics
-
curl --location --retry 5 --output 'ygopro-images-zh-CN.zip' https://github.com/mycard/ygopro-images/releases/download/latest/ygopro-images-zh-CN.zip
-
unzip -q -d pics ygopro-images-zh-CN.zip
-
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude='.git*' ygopro.app LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics replay; fi
-
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar -Jcf ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz --exclude='.git*' ygopro LICENSE README.md lflist.conf script strings.conf system.conf textures deck cards.cdb pics replay; fi
# 语言包
-
cd locales/en-US
-
mkdir pics
# 下载那个语言的卡图
-
tar -Jcf ../../ygopro-lang-en-US-$TRAVIS_TAG.tar.xz cards.cdb strings.conf pics
-
cd ../..
-
cd locales/ja-JP
-
mkdir pics
-
tar -Jcf ../../ygopro-lang-ja-JP-$TRAVIS_TAG.tar.xz cards.cdb strings.conf pics
-
cd ../..
deploy
:
provider
:
releases
file
:
-
ygopro-lite-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz
-
ygopro-$TRAVIS_TAG-$TRAVIS_OS_NAME.tar.xz
-
ygopro-lang-en-US-$TRAVIS_TAG.tar.xz
-
ygopro-lang-ja-JP-$TRAVIS_TAG.tar.xz
api_key
:
secure
:
"
Js+zijIaucVvTm/knFOKLQ0KTdn93g/xgka8J4EQymgqM7JizL15sHSlVKPhqIFfMQYi/AUjNs7ikzYRO4QCe09GbYniSnFQhHPyGd7bb1tzJ5a7s8MdbP6rGFZ/v/SEbuTqDCsxtGGCfy9F/WMJ1J7o6dmuFfrAXEDzTtXrQrs="
skip_cleanup
:
true
...
...
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