forked from scikit-learn-contrib/imbalanced-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
105 lines (101 loc) · 2.94 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Adapted from https://github.com/scikit-learn/scikit-learn/blob/master/azure-pipelines.yml
jobs:
- job: linting
displayName: Linting
pool:
vmImage: ubuntu-18.04
steps:
- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH
- bash: sudo chown -R $USER $CONDA
displayName: Take ownership of conda installation
- bash: conda create --name flake8_env --yes flake8
displayName: Install flake8
- bash: |
source activate flake8_env
./build_tools/circle/linting.sh
displayName: Run linting
- template: build_tools/azure/posix.yml
parameters:
name: Linux
vmImage: ubuntu-18.04
dependsOn: [linting]
matrix:
# Linux environment to test that scikit-learn can be built against
# versions of numpy, scipy with ATLAS that comes with Ubuntu Bionic 18.04
# i.e. numpy 1.13.3 and scipy 0.19
py36_ubuntu_atlas:
DISTRIB: 'ubuntu'
PYTHON_VERSION: '3.6'
JOBLIB_VERSION: '*'
# Linux environment to test the latest available dependencies and MKL.
pylatest_pip_openblas_pandas:
DISTRIB: 'conda-pip-latest'
PYTHON_VERSION: '3.7'
COVERAGE: 'true'
PANDAS_VERSION: '*'
TEST_DOCSTRINGS: 'true'
JOBLIB_VERSION: '*'
CHECK_WARNINGS: 'true'
pylatest_conda_pandas_keras:
DISTRIB: 'conda'
PYTHON_VERSION: '3.7'
INSTALL_MKL: 'true'
PANDAS_VERSION: '*'
KERAS_VERSION: '*'
COVERAGE: 'true'
JOBLIB_VERSION: '*'
TEST_DOCSTRINGS: 'true'
pylatest_conda_pandas_tensorflow:
DISTRIB: 'conda'
PYTHON_VERSION: '3.7'
PANDAS_VERSION: '*'
JOBLIB_VERSION: '*'
INSTALL_MKL: 'true'
TENSORFLOW_VERSION: '*'
COVERAGE: 'true'
TEST_DOCSTRINGS: 'true'
- template: build_tools/azure/posix-32.yml
parameters:
name: Linux32
vmImage: ubuntu-18.04
dependsOn: [linting]
matrix:
py36_ubuntu_atlas_32bit:
DISTRIB: 'ubuntu-32'
PYTHON_VERSION: '3.6'
JOBLIB_VERSION: '*'
TEST_DOCSTRINGS: 'true'
- template: build_tools/azure/posix.yml
parameters:
name: macOS
vmImage: xcode9-macos10.13
dependsOn: [linting]
matrix:
pylatest_conda_mkl:
DISTRIB: 'conda'
PYTHON_VERSION: '*'
INSTALL_MKL: 'true'
NUMPY_VERSION: '*'
SCIPY_VERSION: '*'
PANDAS_VERSION: '*'
PYTEST_VERSION: '*'
JOBLIB_VERSION: '*'
COVERAGE: 'true'
TEST_DOCSTRINGS: 'true'
CHECK_WARNINGS: 'true'
- template: build_tools/azure/windows.yml
parameters:
name: Windows
vmImage: vs2017-win2016
dependsOn: [linting]
matrix:
py37_conda_mkl:
PYTHON_VERSION: '3.7'
PYTHON_ARCH: '64'
PYTEST_VERSION: '*'
COVERAGE: 'true'
CHECK_WARNINGS: 'true'
py36_pip_openblas_32bit:
PYTHON_VERSION: '3.6'
PYTHON_ARCH: '32'