File tree 5 files changed +50
-0
lines changed
5 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Adapted from https://github.com/pandas-dev/pandas/blob/master/azure-pipelines.yml
2
+ schedules :
3
+ - cron : " 30 2 * * *"
4
+ displayName : Run nightly build
5
+ branches :
6
+ include :
7
+ - master
8
+ always : true
9
+
2
10
jobs :
3
11
- job : linting
4
12
displayName : Linting
21
29
./build_tools/circle/linting.sh
22
30
fi
23
31
displayName: Run linting
32
+ - bash : |
33
+ if [[ $BUILD_SOURCEVERSIONMESSAGE =~ \[scipy-dev\] ]] || \
34
+ [[ $BUILD_REASON == "Schedule" ]]; then
35
+ echo "##vso[task.setvariable variable=runScipyDev;isOutput=true]true"
36
+ else
37
+ echo "##vso[task.setvariable variable=runScipyDev;isOutput=true]false"
38
+ fi
39
+ name: gitCommitMessage
40
+ displayName: Determine to run scipy-dev
24
41
42
+ - template : build_tools/azure/posix.yml
43
+ parameters :
44
+ name : Linux_Nightly
45
+ vmImage : ubuntu-18.04
46
+ dependsOn : [linting]
47
+ condition : eq(dependencies['linting']['outputs']['gitCommitMessage.runScipyDev'], 'true')
48
+ matrix :
49
+ pylatest_pip_scipy_dev :
50
+ DISTRIB : ' conda-pip-scipy-dev'
51
+ PYTHON_VERSION : ' *'
52
+ CHECK_WARNINGS : ' true'
53
+ CHECK_PYTEST_SOFT_DEPENDENCY : ' true'
54
+ TEST_DOCSTRINGS : ' true'
55
+ # Tests that require large downloads over the networks are skipped in CI.
56
+ # Here we make sure, that they are still run on a regular basis.
57
+ SKLEARN_SKIP_NETWORK_TESTS : ' 0'
25
58
26
59
# Will run all the time regardless of linting outcome.
27
60
- template : build_tools/azure/posix.yml
Original file line number Diff line number Diff line change @@ -100,6 +100,17 @@ elif [[ "$DISTRIB" == "conda-pip-latest" ]]; then
100
100
python -m pip install pandas matplotlib pyamg scikit-image
101
101
# do not install dependencies for lightgbm since it requires scikit-learn
102
102
python -m pip install lightgbm --no-deps
103
+ elif [[ " $DISTRIB " == " conda-pip-scipy-dev" ]]; then
104
+ make_conda " python=$PYTHON_VERSION "
105
+ python -m pip install -U pip
106
+ python -m pip install pytest==$PYTEST_VERSION pytest-cov pytest-xdist
107
+ echo " Installing numpy and scipy master wheels"
108
+ dev_url=https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com
109
+ pip install --pre --upgrade --timeout=60 -f $dev_url numpy scipy pandas cython
110
+ echo " Installing joblib master"
111
+ pip install https://github.com/joblib/joblib/archive/master.zip
112
+ echo " Installing pillow master"
113
+ pip install https://github.com/python-pillow/Pillow/archive/master.zip
103
114
fi
104
115
105
116
if [[ " $COVERAGE " == " true" ]]; then
Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ parameters:
3
3
vmImage : ' '
4
4
matrix : []
5
5
dependsOn : []
6
+ condition : ne(variables['Build.Reason'], 'Schedule')
6
7
7
8
jobs :
8
9
- job : ${{ parameters.name }}
9
10
dependsOn : ${{ parameters.dependsOn }}
11
+ condition : ${{ parameters.condition }}
10
12
pool :
11
13
vmImage : ${{ parameters.vmImage }}
12
14
variables :
Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ parameters:
3
3
vmImage : ' '
4
4
matrix : []
5
5
dependsOn : []
6
+ condition : ne(variables['Build.Reason'], 'Schedule')
6
7
7
8
jobs :
8
9
- job : ${{ parameters.name }}
9
10
dependsOn : ${{ parameters.dependsOn }}
11
+ condition : ${{ parameters.condition }}
10
12
pool :
11
13
vmImage : ${{ parameters.vmImage }}
12
14
variables :
Original file line number Diff line number Diff line change @@ -4,10 +4,12 @@ parameters:
4
4
vmImage : ' '
5
5
7A4C
matrix : []
6
6
dependsOn : []
7
+ condition : ne(variables['Build.Reason'], 'Schedule')
7
8
8
9
jobs :
9
10
- job : ${{ parameters.name }}
10
11
dependsOn : ${{ parameters.dependsOn }}
12
+ condition : ${{ parameters.condition }}
11
13
pool :
12
14
vmImage : ${{ parameters.vmImage }}
13
15
variables :
You can’t perform that action at this time.
0 commit comments