Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
support install from venv and travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Crysple authored and QuanluZhang committed Sep 12, 2018
1 parent 6c1c3f3 commit 57cd372
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions test/naive/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ def run():
run()
# TODO: check the output of rest server
print(GREEN + 'PASS' + CLEAR)
except Exception as e:
except Exception as error:
print(RED + 'FAIL' + CLEAR)
print('%r' % e)
print('%r' % error)
traceback.print_exc()
raise e
raise error

subprocess.run(['nnictl', 'stop'])

0 comments on commit 57cd372

Please sign in to comment.