-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an azure pipeline configuration file. (#575)
Added an azure pipeline configuration file.
- Loading branch information
1 parent
d3fe102
commit 2b1e756
Showing
2 changed files
with
81 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
|
||
jobs: | ||
- job: test | ||
strategy: | ||
matrix: | ||
Windows py35: | ||
IMAGE_NAME: 'vs2017-win2016' | ||
PYTHON_VERSION: '3.5' | ||
TOX_CMD: 'py35' | ||
Windows py36: | ||
IMAGE_NAME: 'vs2017-win2016' | ||
PYTHON_VERSION: '3.6' | ||
TOX_CMD: 'py36' | ||
Windows py37: | ||
IMAGE_NAME: 'vs2017-win2016' | ||
PYTHON_VERSION: '3.7' | ||
TOX_CMD: 'py37' | ||
OSX py35: | ||
IMAGE_NAME: 'macos-10.13' | ||
PYTHON_VERSION: '3.5' | ||
TOX_CMD: 'py35' | ||
OSX py36: | ||
IMAGE_NAME: 'macos-10.13' | ||
PYTHON_VERSION: '3.6' | ||
TOX_CMD: 'py36' | ||
OSX py37: | ||
IMAGE_NAME: 'macos-10.13' | ||
PYTHON_VERSION: '3.7' | ||
TOX_CMD: 'py37' | ||
Linux py35: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.5' | ||
TOX_CMD: 'py35' | ||
Linux py36: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.6' | ||
TOX_CMD: 'py36' | ||
Linux py37: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.7' | ||
TOX_CMD: 'py37' | ||
Linux tensorflow_112: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.6' | ||
TOX_CMD: 'tensorflow-112' | ||
Linux tensorflow_113: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.6' | ||
TOX_CMD: 'tensorflow-113' | ||
Linux tensorflow-114: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.7' | ||
TOX_CMD: 'tensorflow-114' | ||
Linux tensorflow_2: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.7' | ||
TOX_CMD: 'tensorflow-2' | ||
Linux setup: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.7' | ||
TOX_CMD: 'setup' | ||
Linux flake8: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.7' | ||
TOX_CMD: 'flake8' | ||
Linux coverage: | ||
IMAGE_NAME: 'ubuntu-16.04' | ||
PYTHON_VERSION: '3.7' | ||
TOX_CMD: 'coverage' | ||
pool: | ||
vmImage: $(IMAGE_NAME) | ||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: $(PYTHON_VERSION) | ||
- bash: pip install tox | ||
- bash: tox -e $TOX_CMD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters