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
fd5fd546
Commit
fd5fd546
authored
Sep 12, 2018
by
Crysple
Committed by
QuanluZhang
Sep 13, 2018
Browse files
support install from venv and travis CI
parent
a1bc329c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
Makefile
Makefile
+0
-3
test/naive/run.py
test/naive/run.py
+3
-3
No files found.
Makefile
View file @
fd5fd546
...
...
@@ -4,9 +4,6 @@ EXAMPLES_PATH ?= ${HOME}/nni/examples
WHOAMI
:=
$(
shell
whoami
)
YARN
:=
$(INSTALL_PREFIX)
/yarn/bin/yarn
PIP_MODE
?=
--user
ifdef
TRAVIS
undefine
PIP_MODE
endif
ifdef
VIRTUAL_ENV
undefine
PIP_MODE
endif
...
...
test/naive/run.py
View file @
fd5fd546
...
...
@@ -76,10 +76,10 @@ if __name__ == '__main__':
run
()
# TODO: check the output of rest server
print
(
GREEN
+
'PASS'
+
CLEAR
)
except
Exception
as
e
:
except
Exception
as
e
rror
:
print
(
RED
+
'FAIL'
+
CLEAR
)
print
(
'%r'
%
e
)
print
(
'%r'
%
e
rror
)
traceback
.
print_exc
()
raise
e
raise
e
rror
subprocess
.
run
([
'nnictl'
,
'stop'
])
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