diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 030ad5a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: python - - -matrix: - fast_finish: true - - include: - - python: "2.7" - env: TOXENV=py27-codecov - - python: "3.6" - env: TOXENV=py36-codecov - - python: "3.7" - dist: xenial - env: TOXENV=py37-codecov - - -install: - - pip install tox - - -script: - - tox - - -notifications: - email: false diff --git a/azure-pipelines-job-template.yml b/azure-pipelines-job-template.yml index 9baed7f..0b57765 100644 --- a/azure-pipelines-job-template.yml +++ b/azure-pipelines-job-template.yml @@ -20,6 +20,8 @@ jobs: python.version: '3.6' Python37: python.version: '3.7' + Python38: + python.version: '3.8' maxParallel: 4 steps: @@ -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) + diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a03bbb6..987bfd6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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 diff --git a/docs/source/support.rst b/docs/source/support.rst index 37f008b..25f72e3 100644 --- a/docs/source/support.rst +++ b/docs/source/support.rst @@ -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. diff --git a/tox.ini b/tox.ini index 3a67881..b8aeac2 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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 =