"src/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "28e26ae93ee126a834b2013f7909118110fdc786"
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 # 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) [![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) [![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) [![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: 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'
...@@ -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'])
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