File tree Expand file tree Collapse file tree 5 files changed +50
-0
lines changed
Expand file tree Collapse file tree 5 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 11# 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+
210jobs :
311- job : linting
412 displayName : Linting
2129 ./build_tools/circle/linting.sh
2230 fi
2331 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
2441
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'
2558
2659# Will run all the time regardless of linting outcome.
2760- 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
100100 python -m pip install pandas matplotlib pyamg scikit-image
101101 # do not install dependencies for lightgbm since it requires scikit-learn
102102 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
103114fi
104115
105116if [[ " $COVERAGE " == " true" ]]; then
Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ parameters:
33 vmImage : ' '
44 matrix : []
55 dependsOn : []
6+ condition : ne(variables['Build.Reason'], 'Schedule')
67
78jobs :
89- job : ${{ parameters.name }}
910 dependsOn : ${{ parameters.dependsOn }}
11+ condition : ${{ parameters.condition }}
1012 pool :
1113 vmImage : ${{ parameters.vmImage }}
1214 variables :
Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ parameters:
33 vmImage : ' '
44 matrix : []
55 dependsOn : []
6+ condition : ne(variables['Build.Reason'], 'Schedule')
67
78jobs :
89- job : ${{ parameters.name }}
910 dependsOn : ${{ parameters.dependsOn }}
11+ condition : ${{ parameters.condition }}
1012 pool :
1113 vmImage : ${{ parameters.vmImage }}
1214 variables :
Original file line number Diff line number Diff line change @@ -4,10 +4,12 @@ parameters:
44 vmImage : ' '
55 matrix : []
66 dependsOn : []
7+ condition : ne(variables['Build.Reason'], 'Schedule')
78
89jobs :
910- job : ${{ parameters.name }}
1011 dependsOn : ${{ parameters.dependsOn }}
12+ condition : ${{ parameters.condition }}
1113 pool :
1214 vmImage : ${{ parameters.vmImage }}
1315 variables :
You can’t perform that action at this time.
0 commit comments