20 строки
609 B
YAML
20 строки
609 B
YAML
language: python
|
|
python:
|
|
- '3.6'
|
|
before_install:
|
|
- echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ `lsb_release -cs` main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
|
|
- curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
|
- sudo apt-get install -y apt-transport-https
|
|
- sudo apt-get -qq update && sudo apt-get install -y azure-cli
|
|
install:
|
|
- pip install pipenv
|
|
- pipenv sync --python python3 --dev
|
|
script:
|
|
- pylint a01
|
|
deploy:
|
|
- provider: script
|
|
script: pipenv run ./setup.py bdist_wheel && ./scripts/publish.sh
|
|
on:
|
|
tags: true
|
|
branch: master
|