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

This file was deleted.

11 changes: 9 additions & 2 deletions azure-pipelines-job-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
python.version: '3.8'
maxParallel: 4

steps:
Expand All @@ -28,9 +30,14 @@ jobs:
versionSpec: '$(python.version)'
architecture: 'x64'

- script: python -m pip install --upgrade pip && pip install .
- script: python -m pip install --upgrade pip && python -m pip install .[tests]
displayName: 'Install'

- script: python -m unittest discover
- script: coverage run --branch -m unittest discover
displayName: 'Run tests'

- script: python -m pip install codecov && codecov --no-color --required
displayName: 'Upload coverage results'
env:
CODECOV_TOKEN: $(CODECOV_TOKEN)

5 changes: 5 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ trigger:

jobs:

- template: azure-pipelines-job-template.yml
parameters:
name: Linux
vmImage: 'ubuntu-18.04'

- template: azure-pipelines-job-template.yml
parameters:
name: macOS
Expand Down
1 change: 1 addition & 0 deletions docs/source/support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ There is, however, a limited set of interpreters and platforms where development
* CPython 2.7 on 64 bit Linux, Windows or macOS systems.
* CPython 3.6 on 64 bit Linux, Windows or macOS systems.
* CPython 3.7 on 64 bit Linux, Windows or macOS systems.
* CPython 3.8 on 64 bit Linux, Windows or macOS systems.

Other interpreters and platforms may become supported in the future.

Expand Down
9 changes: 8 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = coverage-erase,py27,py36,py37,coverage-report
envlist = coverage-erase,py27,py36,py37,py38,coverage-report

[testenv]
extras = tests
Expand Down Expand Up @@ -31,6 +31,13 @@ commands =
coverage run --source={envsitepackagesdir}/wires/,tests/ --branch -m unittest discover
codecov

[testenv:py38-codecov]
passenv = CI TRAVIS TRAVIS_*
deps = codecov
commands =
coverage run --source={envsitepackagesdir}/wires/,tests/ --branch -m unittest discover
codecov

[testenv:coverage-report]
basepython = python3.7
commands =
Expand Down