Merge remote-tracking branch 'origin/azure3'
* origin/azure3: docs: update Changelog; closes #542. issue #542: return of select poller, new selection logic issue #542: .ci: move some tests to Azure and enable Mac job. ansible: create stub __init__.py for sdist.pull/564/head
commit
97399477a5
@ -0,0 +1,20 @@
|
||||
|
||||
parameters:
|
||||
name: ''
|
||||
pool: ''
|
||||
sign: false
|
||||
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '$(python.version)'
|
||||
architecture: 'x64'
|
||||
|
||||
- script: .ci/prep_azure.py
|
||||
displayName: "Install requirements."
|
||||
|
||||
- script: .ci/$(MODE)_install.py
|
||||
displayName: "Install requirements."
|
||||
|
||||
- script: .ci/$(MODE)_tests.py
|
||||
displayName: Run tests.
|
@ -1,22 +1,30 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
import ci_lib
|
||||
|
||||
batches = []
|
||||
batches.append([
|
||||
|
||||
if ci_lib.have_apt():
|
||||
batches.append([
|
||||
'echo force-unsafe-io | sudo tee /etc/dpkg/dpkg.cfg.d/nosync',
|
||||
'sudo add-apt-repository ppa:deadsnakes/ppa',
|
||||
'sudo apt-get update',
|
||||
'sudo apt-get -y install python2.6 python2.6-dev libsasl2-dev libldap2-dev',
|
||||
])
|
||||
])
|
||||
|
||||
batches.append([
|
||||
'pip install -r dev_requirements.txt',
|
||||
])
|
||||
|
||||
batches.extend(
|
||||
#batches.append([
|
||||
#'pip install -r dev_requirements.txt',
|
||||
#])
|
||||
|
||||
if ci_lib.have_docker():
|
||||
batches.extend(
|
||||
['docker pull %s' % (ci_lib.image_for_distro(distro),)]
|
||||
for distro in ci_lib.DISTROS
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
ci_lib.run_batches(batches)
|
||||
|
Loading…
Reference in New Issue