2016-02-23 00:15:12 +03:00
|
|
|
sudo: false
|
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.5"
|
2016-03-10 22:42:52 +03:00
|
|
|
- "3.5-dev" # 3.5 development branch
|
2016-02-20 03:02:14 +03:00
|
|
|
install:
|
2016-04-08 23:33:58 +03:00
|
|
|
- pip install virtualenv # used by package_verify script
|
2016-02-29 21:19:28 +03:00
|
|
|
- pip install -r requirements.txt
|
2016-03-29 00:33:32 +03:00
|
|
|
- pip install -e . # Install the CLI as a package
|
2016-03-31 02:30:28 +03:00
|
|
|
- python scripts/command_modules/install.py # Install the command modules as packages
|
2016-02-23 00:15:12 +03:00
|
|
|
script:
|
|
|
|
- export PYTHONPATH=$PATHONPATH:./src
|
2016-04-02 02:34:37 +03:00
|
|
|
- python -m azure.cli -h
|
2016-03-26 03:14:35 +03:00
|
|
|
- pylint -r n src/azure
|
2016-03-31 02:30:28 +03:00
|
|
|
- python scripts/command_modules/pylint.py
|
2016-03-09 21:45:51 +03:00
|
|
|
- python -m unittest discover -s src/azure/cli/tests --buffer
|
2016-03-31 02:30:28 +03:00
|
|
|
- python scripts/command_modules/test.py
|
2016-04-08 23:33:58 +03:00
|
|
|
- sh scripts/package_verify.sh
|