Skip to content

Commit

Permalink
ci - use git shallow checkouts and upgrade six dep (cloud-custodian#3417
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kapilt authored Jan 24, 2019
1 parent 59061af commit 78f2b0f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,22 @@ variables:
- group: CustodianCoreCI

jobs:

- job: 'Lint'
pool:
vmImage: 'Ubuntu-16.04'

steps:
- checkout: self
fetchDepth: 1

- task: UsePythonVersion@0
inputs:
versionSpec: '2.7'
architecture: 'x64'

- script: python -m pip install --upgrade pip && pip install flake8==3.5.0
displayName: "Install Dependencies"

- script: make lint
displayName: "Flake8 Lint"

Expand All @@ -38,6 +42,9 @@ jobs:
maxParallel: 3

steps:
- checkout: self
fetchDepth: 2

- task: UsePythonVersion@0
displayName: "Set Python Version"
inputs:
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pytest-cov
tox
psutil
aws_xray_sdk
six >= 1.12.0

# Local package required for Sphinx docs
-e tools/c7n_sphinxext
Expand Down
2 changes: 1 addition & 1 deletion tools/c7n_mailer/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MarkupSafe==1.0
python-dateutil>=2.6
ldap3
ruamel.yaml==0.15.42
six==1.11.0
six>=1.12.0
redis
datadog
slackclient
Expand Down

0 comments on commit 78f2b0f

Please sign in to comment.