Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
14fac162
"src/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "28e26ae93ee126a834b2013f7909118110fdc786"
Commit
14fac162
authored
Oct 15, 2018
by
azure-pipelines[bot]
Committed by
goooxu
Oct 15, 2018
Browse files
Set up CI with Azure Pipelines
parent
32864b0d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
12 deletions
+11
-12
README.md
README.md
+1
-1
azure-pipelines.yml
azure-pipelines.yml
+9
-10
test/naive/run.py
test/naive/run.py
+1
-1
No files found.
README.md
View file @
14fac162
# Neural Network Intelligence
# Neural Network Intelligence
[

](https://
travis-ci.org/Microsoft/nni
)
[

](https://
msrasrg.visualstudio.com/NNIOpenSource/_build/latest?definitionId=6
)
[

](https://github.com/Microsoft/nni/issues?q=is%3Aissue+is%3Aopen)
[

](https://github.com/Microsoft/nni/issues?q=is%3Aissue+is%3Aopen)
[

](https://github.com/Microsoft/nni/issues?q=is%3Aissue+is%3Aopen+label%3Abug)
[

](https://github.com/Microsoft/nni/issues?q=is%3Aissue+is%3Aopen+label%3Abug)
[

](https://github.com/Microsoft/nni/pulls?q=is%3Apr+is%3Aopen)
[

](https://github.com/Microsoft/nni/pulls?q=is%3Apr+is%3Aopen)
...
...
azure-pipeline.yml
→
azure-pipeline
s
.yml
View file @
14fac162
jobs
:
pool
:
-
job
:
Build
vmImage
:
'
Ubuntu
16.04'
pool
:
strategy
:
vmImage
:
ubuntu-16.04
matrix
:
strategy
:
Python36
:
matrix
:
PYTHON_VERSION
:
'
3.6'
Python36
:
PYTHON_VERSION
:
'
3.6'
steps
:
steps
:
-
script
:
python3 -m pip install --upgrade pip setuptools
-
script
:
python3 -m pip install --upgrade pip setuptools
displayName
:
'
Install
python
tools'
displayName
:
'
Install
python
tools'
-
script
:
|
-
script
:
|
...
@@ -15,5 +14,5 @@ jobs:
...
@@ -15,5 +14,5 @@ jobs:
displayName
:
'
Install
dependencies'
displayName
:
'
Install
dependencies'
-
script
:
|
-
script
:
|
cd test/naive
cd test/naive
python3 run.py
PATH=$HOME/.local/nni/node/bin:$PATH
python3 run.py
displayName
:
'
Run
tests'
displayName
:
'
Run
tests'
test/naive/run.py
View file @
14fac162
...
@@ -82,4 +82,4 @@ if __name__ == '__main__':
...
@@ -82,4 +82,4 @@ if __name__ == '__main__':
traceback
.
print_exc
()
traceback
.
print_exc
()
raise
error
raise
error
subprocess
.
run
([
'nnictl'
,
'stop'
])
subprocess
.
run
([
'nnictl'
,
'stop'
,
'--port'
,
'51188'
])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment