зеркало из https://github.com/microsoft/azure-cli.git
20 строки
627 B
YAML
20 строки
627 B
YAML
sudo: false
|
|
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.5"
|
|
- "3.5-dev" # 3.5 development branch
|
|
install:
|
|
- pip install virtualenv # used by package_verify script
|
|
- pip install -r requirements.txt
|
|
- pip install -e . # Install the CLI as a package
|
|
- python scripts/command_modules/install.py # Install the command modules as packages
|
|
script:
|
|
- export PYTHONPATH=$PATHONPATH:./src
|
|
- python -m azure.cli -h
|
|
- pylint -r n src/azure
|
|
- python scripts/command_modules/pylint.py
|
|
- python -m unittest discover -s src/azure/cli/tests --buffer
|
|
- python scripts/command_modules/test.py
|
|
- sh scripts/package_verify.sh
|