File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ steps :
2
+ - task : CondaEnvironment@1
3
+ inputs :
4
+ packageSpecs : >
5
+ python=3.6
6
+ sortedcontainers
7
+ sortedcollections
8
+ scipy
9
+ holoviews
10
+ ipyparallel
11
+ distributed
12
+ ipykernel>=4.8*
13
+ jupyter_client>=5.2.2
14
+ ipywidgets
15
+ scikit-optimize
16
+ plotly
17
+ createCustomEnvironment : true
18
+ createOptions : " -c conda-forge"
19
+ environmentName : ' adaptive'
20
+
21
+ - script : pip install -r test-requirements.txt
22
+ displayName : ' Install test-requirements.txt'
23
+
24
+ - script : py.test --verbose --cov=adaptive --cov-report term --cov-report html adaptive
25
+ displayName : ' Run the tests'
26
+
27
+ - script : |
28
+ MISSING_AUTHORS=$(git shortlog -s HEAD | sed -e "s/^[0-9\t ]*//"| xargs -i sh -c 'grep -q "{}" AUTHORS.md || echo "{} missing from authors"')
29
+ if [ ! -z "$MISSING_AUTHORS" ]; then { echo $MISSING_AUTHORS; exit 1; }; fi
30
+ continueOnError : true
31
+ displayName : ' Authors check'
32
+
33
+ - script : ./check_whitespace
34
+ continueOnError : true
35
+ displayName : ' Whitespace check'
You can’t perform that action at this time.
0 commit comments