1 Star 0 Fork 0

windyland/DDNS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 840 Bytes
一键复制 编辑 原始数据 按行查看 历史
New 提交于 2019-05-02 14:16 . ci(tavis): date time
language: python
python:
- "2.7"
- "3.7"
dist: xenial
# os:
# - linux
# - osx
# command to install dependencies
install:
- pip install pyinstaller
# command to run tests
script:
- sed -i -e "s/\${BUILD_SOURCEBRANCHNAME}/${TRAVIS_BRANCH}/" -e "s/\${BUILD_DATE}/$(date --iso-8601=seconds)/" run.py
- pyinstaller --onefile --noconfirm --clean ./.build/ddns.spec
- ./dist/ddns || test -e "config.json"
git:
depth: 2
deploy:
- provider: releases
api_key: "${GH_TOKEN}"
skip_cleanup: true
file:
- "dist/ddns"
on:
tags: true
branch: master
python: '3.7'
- provider: pypi
user: newfuture-bot
password: "${PYPI_PWD}"
skip_cleanup: true
distributions: "sdist bdist_wheel" # Your distributions here
on:
tags: true
branch: master
python: '3.7'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/qwssd/DDNS.git
git@gitee.com:qwssd/DDNS.git
qwssd
DDNS
DDNS
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385