25 строки
550 B
YAML
25 строки
550 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
install:
|
|
- pip install -r dev_requirements.txt
|
|
- pip install --force-reinstall azure-nspkg==1.0.0
|
|
before_script:
|
|
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then black . --line-length 100 --check; fi
|
|
script:
|
|
- pytest azure-kusto-data
|
|
- pytest azure-kusto-ingest
|
|
deploy:
|
|
provider: pypi
|
|
user: microsoftkusto
|
|
skip_upload_docs: true
|
|
# password: use $PYPI_PASSWORD
|
|
distributions: "travis_deploy" # Manual step
|
|
on:
|
|
tags: true
|
|
python: '3.6'
|
|
branch: master
|