Watch 1 Star 0 Fork 17

麦琪 / tqsdk-pythonPythonApache-2.0

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
简单但强大的Python量化开发包 spread retract

Clone or download
.travis.yml 1.30 KB
Copy Edit Web IDE Raw Blame History
language: python
python:
- "3.6"
- "3.7"
- "3.8"
install:
- pip install -r requirements.txt
- pip install autodocsumm sphinx_rtd_theme jieba
script:
- PYTHONHASHSEED=32 TZ=Asia/Shanghai pytest
- python setup.py sdist
- python setup.py bdist_wheel -p any
- rm -rf build
- python setup.py bdist_wheel -p manylinux1_x86_64
- rm -rf build
- python setup.py bdist_wheel -p win32
- rm -rf build
- python setup.py bdist_wheel -p win_amd64
- rm -rf build
- sphinx-build doc build/doc
deploy:
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true
- provider: s3
access_key_id: $AWS_KEY_ID
secret_access_key: $AWS_ACCESS_KEY
bucket: shinnydeploy
region: ap-east-1
local_dir: build/doc
upload-dir: "docs/tqsdk-python/$TRAVIS_BRANCH"
skip_cleanup: true
on:
all_branches: true
- provider: s3
access_key_id: $AWS_KEY_ID
secret_access_key: $AWS_ACCESS_KEY
bucket: shinnydeploy
region: ap-east-1
local_dir: dist
upload-dir: "dist/tqsdk-python/$TRAVIS_BRANCH"
skip_cleanup: true
on:
all_branches: true
- provider: pypi
user: $PYPI_USERNAME
password: $PYPI_PASSWORD
skip_cleanup: true
skip_existing: true
on:
tags: true

Comment ( 0 )

Sign in for post a comment

Python
1
https://gitee.com/emaiqi/tqsdk-python.git
git@gitee.com:emaiqi/tqsdk-python.git
emaiqi
tqsdk-python
tqsdk-python
master

Help Search