azure-cli/.travis.yml

41 строка
949 B
YAML

dist: trusty
sudo: off
language: python
addons:
apt:
packages:
- libssl-dev
- libffi-dev
- python-dev
install: echo 'skip'
cache: pip
jobs:
include:
- stage: build
script: ./scripts/ci/build.sh
python: 3.6
- stage: verify
env: PURPOSE='Automation'
script: ./scripts/ci/test_automation.sh
python: 3.6
- stage: verify
env: PURPOSE='Automation'
script: ./scripts/ci/test_automation.sh
python: 2.7
- stage: verify
script: ./scripts/ci/test_static.sh
env: PURPOSE='Static Check'
python: 3.6
- stage: verify
script: ./scripts/ci/test_integration.sh
env: PURPOSE='Integration'
python: 3.6
- stage: verify
script: ./scripts/ci/test_integration.sh
env: PURPOSE='Integration'
python: 2.7
- stage: publish
script: ./scripts/ci/publish.sh
python: 3.6
if: branch = master and type = push