11
2+ # ###############################################################################
3+ # We use Azure to run the full tests suites on Pythons 2.7 and 3.6
4+ # on Windows (32 and 64), macOS and Linux (64 various distro)
5+ # ###############################################################################
6+
27jobs :
38
49# ###############################################################################
5863 --cov=src --cov-report=term --cov-report=xml
5964 bin/codecov --token "$CODECOV_TOKEN"
6065
61- plugins-scancode-fingerprint : |
62- bin/pip install -e plugins/scancode-fingerprint
63- bin/py.test -vvs plugins/scancode-fingerprint/tests/
64- bin/codecov --token "$CODECOV_TOKEN"
65-
66- plugins-scancode-compiledcode : |
67- bin/pip install -e plugins/scancode-dwarfdump-manylinux1_x86_64
68- bin/pip install -e plugins/scancode-ctags-manylinux1_x86_64
69- bin/pip install -e plugins/scancode-readelf-manylinux1_x86_64
70- bin/pip install -e plugins/scancode-compiledcode
71- bin/py.test -vvs plugins/scancode-compiledcode/tests/
72-
7366 - template : etc/ci/azure-win.yml
7467 parameters :
7568 job_name : Win2016_32_py27
@@ -81,14 +74,16 @@ jobs:
8174 scancode : Scripts\py.test -vvs --reruns=3 tests\scancode
8275 lic_cluecode : Scripts\py.test -vvs --reruns=3 tests\cluecode tests\licensedcode
8376
84- - template : etc/ci/azure-mac .yml
77+ - template : etc/ci/azure-win .yml
8578 parameters :
86- job_name : macos1014_py27
87- image_name : macos-10.14
79+ job_name : Win2016_64_py27
80+ image_name : vs2017-win2016
8881 python_versions : ['2.7']
82+ python_architecture : x64
8983 test_suites :
90- all : bin/py.test -n 2 -vvs --reruns=3 --ignore=tests/scancode
91- scancode : bin/py.test -vvs --reruns=3 tests/scancode
84+ misc : Scripts\py.test -vvs --reruns=3 --ignore=tests\scancode --ignore=tests\cluecode --ignore=tests\licensedcode
85+ scancode : Scripts\py.test -vvs --reruns=3 tests\scancode
86+ lic_cluecode : Scripts\py.test -vvs --reruns=3 tests\cluecode tests\licensedcode
9287
9388 - template : etc/ci/azure-mac.yml
9489 parameters :
@@ -97,23 +92,13 @@ jobs:
9792 python_versions : ['2.7']
9893 test_suites :
9994 all : bin/py.test -n 2 -vvs --reruns=3 --ignore=tests/scancode
100- scancode : bin/py.test -vvs --reruns=3 tests/scancode
95+ scancode : bin/py.test -vvs --reruns=3 tests/scancode
10196
10297
10398# ###############################################################################
10499# These jobs are using containers and their own Python 2.7
105100# ###############################################################################
106101
107- # - template: etc/ci/azure-container-deb.yml
108- # parameters:
109- # job_name: ubuntu16_py27
110- # container: ubuntu:xenial
111- # python_path: python2.7
112- # python_version: '2.7'
113- # install_python: sudo apt-get install -y python python-dev
114- # test_suite_label: all
115- # test_suite: bin/py.test -n 2 -vvs --reruns=3
116-
117102 - template : etc/ci/azure-container-deb.yml
118103 parameters :
119104 job_name : ubuntu18_py27
@@ -179,8 +164,9 @@ jobs:
179164# test_suite_label: all
180165# test_suite: bin/py.test -n 2 -vvs --reruns=3
181166
167+
182168# #######################################################################
183- # RELEASE on 2.7
169+ # RELEASE on 2.7. Also check that we can pip install
184170# #######################################################################
185171
186172 - job : Build_release_archive_py2
@@ -198,6 +184,9 @@ jobs:
198184 - script : ./etc/release/release.sh
199185 displayName : ' Build installable releases'
200186
187+ - script : ./etc/release/pip-install2.sh
188+ displayName : ' Test pip installation'
189+
201190
202191# #######################################################################
203192# RELEASE on 3.6. Also check that we can pip install
@@ -236,26 +225,29 @@ jobs:
236225
237226 - template : etc/ci/azure-mac.yml
238227 parameters :
239- job_name : macos1014_py36
240- image_name : macos-10.14
228+ job_name : macos1015_py36
229+ image_name : macos-10.15
241230 python_versions : ['3.6']
242231 test_suites :
243232 all : bin/py.test -n 2 -vvs --reruns=3
244233
245- - template : etc/ci/azure-mac .yml
234+ - template : etc/ci/azure-win .yml
246235 parameters :
247- job_name : macos1015_py36
248- image_name : macos-10.15
236+ job_name : Win2016_32_py36
237+ image_name : vs2017-win2016
249238 python_versions : ['3.6']
239+ python_architecture : x86
250240 test_suites :
251- all : bin/py.test -n 2 -vvs --reruns=3
241+ misc : Scripts\py.test -vvs --reruns=3 --ignore=tests\scancode --ignore=tests\cluecode --ignore=tests\licensedcode
242+ scancode : Scripts\py.test -vvs --reruns=3 tests\scancode
243+ lic_cluecode : Scripts\py.test -vvs --reruns=3 tests\cluecode tests\licensedcode
252244
253245 - template : etc/ci/azure-win.yml
254246 parameters :
255- job_name : Win2016_32_py36
247+ job_name : Win2016_64_py36
256248 image_name : vs2017-win2016
257249 python_versions : ['3.6']
258- python_architecture : x86
250+ python_architecture : x64
259251 test_suites :
260252 misc : Scripts\py.test -vvs --reruns=3 --ignore=tests\scancode --ignore=tests\cluecode --ignore=tests\licensedcode
261253 scancode : Scripts\py.test -vvs --reruns=3 tests\scancode
@@ -324,7 +316,7 @@ jobs:
324316# install_python: echo "Python is pre-installed"
325317# test_suite_label: all
326318# test_suite: bin/py.test -n 2 -vvs --reruns=3
327- #
319+
328320
329321# ###############################################################################
330322# These jobs are using containers and their own Python 3.7
@@ -384,20 +376,3 @@ jobs:
384376# sudo make altinstall
385377# test_suite_label: basic tests
386378# test_suite: bin/py.test -n 2 -vvs --reruns=3
387-
388-
389- # ###############################################################################
390- # Misc: we do not support yet Windows 64
391- # ###############################################################################
392-
393- #
394- # - template: etc/ci/azure-win.yml
395- # parameters:
396- # job_name: Win2016_64
397- # image_name: vs2017-win2016
398- # python_versions: ['2.7', '3.6']
399- # python_architecture: x64
400- # test_suites:
401- # all: Scripts\py.test -n 2 -vvs --ignore=tests\scancode
402- # scancode: Scripts\py.test -vvs tests\scancode
403-
0 commit comments