Commit 14fac162 authored by azure-pipelines[bot]'s avatar azure-pipelines[bot] Committed by goooxu
Browse files

Set up CI with Azure Pipelines

parent 32864b0d
# Neural Network Intelligence
[![Build Status](https://img.shields.io/travis/Microsoft/nni.svg)](https://travis-ci.org/Microsoft/nni)
[![Build Status](https://msrasrg.visualstudio.com/NNIOpenSource/_apis/build/status/Microsoft.nni)](https://msrasrg.visualstudio.com/NNIOpenSource/_build/latest?definitionId=6)
[![Issues](https://img.shields.io/github/issues-raw/Microsoft/nni.svg)](https://github.com/Microsoft/nni/issues?q=is%3Aissue+is%3Aopen)
[![Bugs](https://img.shields.io/github/issues/Microsoft/nni/bug.svg)](https://github.com/Microsoft/nni/issues?q=is%3Aissue+is%3Aopen+label%3Abug)
[![Pull Requests](https://img.shields.io/github/issues-pr-raw/Microsoft/nni.svg)](https://github.com/Microsoft/nni/pulls?q=is%3Apr+is%3Aopen)
......
jobs:
- job: Build
pool:
vmImage: ubuntu-16.04
strategy:
matrix:
Python36:
PYTHON_VERSION: '3.6'
steps:
pool:
vmImage: 'Ubuntu 16.04'
strategy:
matrix:
Python36:
PYTHON_VERSION: '3.6'
steps:
- script: python3 -m pip install --upgrade pip setuptools
displayName: 'Install python tools'
- script: |
......@@ -15,5 +14,5 @@ jobs:
displayName: 'Install dependencies'
- script: |
cd test/naive
python3 run.py
PATH=$HOME/.local/nni/node/bin:$PATH python3 run.py
displayName: 'Run tests'
......@@ -82,4 +82,4 @@ if __name__ == '__main__':
traceback.print_exc()
raise error
subprocess.run(['nnictl', 'stop'])
subprocess.run(['nnictl', 'stop', '--port', '51188'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment