Skip to content
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
49 changes: 0 additions & 49 deletions .travis.yml

This file was deleted.

44 changes: 44 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
resources:
repositories:
- repository: tox
type: github
endpoint: github
name: tox-dev/azure-pipelines-template
ref: refs/tags/0.2

trigger:
batch: true
branches:
include:
- master

pr:
branches:
include:
- master

variables:
PYTEST_ADDOPTS: "-v -v -ra --showlocals"
PYTEST_XDIST_PROC_NR: 'auto'
CI_RUN: 'yes'

jobs:
- template: run-tox-env.yml@tox
parameters:
jobs:
format_check: null
merge: null
type: null
lint: null
package_readme: null
py38:
image: [linux]
py37:
image: [linux, windows, macOs]
py36:
image: [linux, windows, macOs]
dev: null
coverage:
with_toxenv: 'coverage' # generate .tox/.coverage, .tox/coverage.xml after test run
for_envs: [py38, py37, py36]
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.7.0
envlist = format-check,
envlist = format_check,
py37,
py36,
coverage,
Expand Down Expand Up @@ -34,7 +34,7 @@ commands = - seed-isort-config --application-directories .,tests
black .
isort -rc .

[testenv:format-check]
[testenv:format_check]
description = check that the source code is well formatted
deps = {[testenv:format]deps}
skip_install = {[testenv:format]skip_install}
Expand Down