Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenDocCN
BiliDriveEx
提交
396f7e30
B
BiliDriveEx
项目概览
OpenDocCN
/
BiliDriveEx
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
B
BiliDriveEx
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
396f7e30
编写于
1月 22, 2020
作者:
W
wizardforcel
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
创建 clean.sh
上级
838cd9f2
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
68 addition
and
0 deletion
+68
-0
.travis.old.yml
.travis.old.yml
+63
-0
clean.sh
clean.sh
+5
-0
未找到文件。
.travis.old.yml
0 → 100644
浏览文件 @
396f7e30
if
:
'
tag
IS
blank'
env
:
global
:
-
TRAVIS_TAG=v1.8
jobs
:
include
:
-
name
:
'
Python
3.7.5
on
Linux
(AMD64)'
os
:
linux
dist
:
bionic
arch
:
amd64
language
:
python
python
:
3.7.5
env
:
RELEASE_FILENAME=bilidrive-$TRAVIS_TAG-linux-amd64.tar.gz
-
name
:
'
Python
3.7.5
on
Linux
(ARM64)'
os
:
linux
dist
:
bionic
arch
:
arm64
language
:
python
python
:
3.7.5
env
:
[
'
PATH=~/.ruby/bin:$PATH'
,
GEM_HOME=~/.ruby
,
RELEASE_FILENAME=bilidrive-$TRAVIS_TAG-linux-arm64.tar.gz
]
-
name
:
'
Python
3.7.4
on
macOS
(AMD64)'
os
:
osx
osx_image
:
xcode11.2
arch
:
amd64
language
:
shell
env
:
RELEASE_FILENAME=bilidrive-$TRAVIS_TAG-macos-amd64.zip
-
name
:
'
Python
3.7.5
on
Windows
(AMD64)'
os
:
windows
arch
:
amd64
language
:
shell
env
:
[
'
PATH=/c/Python37:/c/Python37/Scripts:$PATH'
,
RELEASE_FILENAME=bilidrive-$TRAVIS_TAG-windows-amd64.zip
]
before_install
:
'
choco
install
python
--version
3.7.5'
install
:
-
'
if
[
"$TRAVIS_OS_NAME"
=
"windows"
];
then
python
-m
pip
install
-U
pip;
else
pip3
install
-U
pip;
fi'
-
'
pip3
install
-r
requirements.txt'
-
'
pip3
install
pyinstaller'
script
:
-
'
if
[
"$TRAVIS_OS_NAME"
=
"windows"
];
then
python
-m
BiliDrive
-v;
else
python3
-m
BiliDrive
-v;
fi'
-
'
pyinstaller
-F
-n
BiliDrive
-i
icon.ico
BiliDrive/__main__.py'
-
'
mkdir
-p
release/BiliDrive'
-
'
cp
{dist/*,LICENSE,README.md}
release/BiliDrive'
-
'
cd
release'
-
'
if
[
"$TRAVIS_OS_NAME"
=
"windows"
];
then
7z
a
-tzip
$RELEASE_FILENAME
BiliDrive;
elif
[
"$TRAVIS_OS_NAME"
=
"osx"
];
then
zip
-r
$RELEASE_FILENAME
BiliDrive;
else
tar
-czvf
$RELEASE_FILENAME
BiliDrive;
fi'
-
'
cd
..'
deploy
:
-
provider
:
releases
api_key
:
$GITHUB_OAUTH_TOKEN
file
:
release/$RELEASE_FILENAME
overwrite
:
true
skip_cleanup
:
true
-
provider
:
pypi
user
:
__token__
password
:
$PYPI_API_TOKEN
distributions
:
'
sdist
bdist_wheel'
skip_existing
:
true
on
:
condition
:
[
'
$TRAVIS_OS_NAME
=
linux'
,
'
$TRAVIS_CPU_ARCH
=
amd64'
]
clean.sh
0 → 100644
浏览文件 @
396f7e30
#! /bin/sh
rm
-rf
BiliDriveEx.egg-info
rm
-rf
build
rm
-rf
dist
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录