代码拉取完成,页面将自动刷新
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'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。