2018-01-07 04:15:41 +03:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- '3.6'
|
2018-03-08 23:57:00 +03:00
|
|
|
before_install:
|
2018-03-08 23:59:11 +03:00
|
|
|
- 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
|
2018-07-10 20:54:51 +03:00
|
|
|
- curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
|
2018-03-08 23:59:11 +03:00
|
|
|
- sudo apt-get install -y apt-transport-https
|
|
|
|
- sudo apt-get -qq update && sudo apt-get install -y azure-cli
|
2018-01-07 04:15:41 +03:00
|
|
|
install:
|
2018-07-10 20:58:15 +03:00
|
|
|
- pip install pipenv
|
2018-07-10 20:50:13 +03:00
|
|
|
- pipenv sync --python python3 --dev
|
2018-07-10 21:31:38 +03:00
|
|
|
scripts:
|
|
|
|
- pylint a01
|
2018-03-08 23:06:19 +03:00
|
|
|
deploy:
|
2018-03-08 22:59:07 +03:00
|
|
|
- provider: script
|
2018-07-10 20:50:13 +03:00
|
|
|
script: pipenv run ./setup.py bdist_wheel && ./scripts/publish.sh
|
2018-03-08 22:59:07 +03:00
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
branch: master
|