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

revert install.sh #244

Merged
merged 8 commits into from
Oct 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ strategy:
matrix:
Python36:
PYTHON_VERSION: '3.6'
trigger:
- master
- dev-exp-stop-more

steps:
- script: python3 -m pip install --upgrade pip setuptools
Expand All @@ -16,9 +13,6 @@ steps:
displayName: 'Install dependencies'
- script: |
cd test/naive
source $HOME/.bashrc
export PATH=$HOME/.local/bin:$PATH
nnictl --help
cat $HOME/.local/bin/nnictl
python3 run.py
displayName: 'Run tests'
6 changes: 1 addition & 5 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#!/bin/bash
make install-dependencies
make build
make dev-install
make install-examples
make update-bash-config
make easy-install
source ~/.bashrc
11 changes: 6 additions & 5 deletions test/naive/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
## Usage
To test before installing:
./run.py --preinstall
To test the integrity of installation:
./run.py
It will print `PASS` in green eventually if everything works well.

* To test before installing:
`./run.py --preinstall`
* To test the integrity of installation:
`./run.py`
* It will print `PASS` in green eventually if everything works well.

## Details
* This test case tests the communication between trials and tuner/assessor.
Expand Down
1 change: 0 additions & 1 deletion test/naive/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def run(self, installed = True):
if __name__ == '__main__':
installed = (sys.argv[-1] != '--preinstall')
ci = Integration_test()
time.sleep(8)
try:
ci.run(installed)
# TODO: check the output of rest server
Expand Down