代码拉取完成,页面将自动刷新
sudo: required
matrix:
include:
- os: osx
language: generic
- os: linux
language: python
python:
- "3.5.1"
before_install: |
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
alias python=$(which python3)
alias pip=$(which pip3)
which python3
which pip3
sudo ln -f $(which python3) $(which python)
sudo ln -f $(which pip3) $(which pip)
python --version
fi
install:
- python -m pip install --upgrade pip
- python -m pip install -r requirements.txt
- python -m pip install pyinstaller
script:
- pyinstaller ./convert-ebook.py -F --add-data ./lib/kindlegen:lib/kindlegen
- mv ./dist/convert-ebook ./dist/convert-ebook-$TRAVIS_OS_NAME
deploy:
provider: releases
file: "dist/convert-ebook-$TRAVIS_OS_NAME"
api_key: $api_key
skip_cleanup: true
overwrite: true
on:
branch: master
tags: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。