Skip to content

Commit

Permalink
Release
Browse files Browse the repository at this point in the history
  • Loading branch information
boxed committed Aug 7, 2020
1 parent 9fc5686 commit 8b0923c
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
language: python
python:
- 3.6
- 3.7
- 3.8
- 3.9-dev

env:
- TOXENV=coverage

stages:
- lint
- test
- name: deploy
if: repo = boxed/mutmut AND tag IS present
Expand All @@ -23,13 +20,8 @@ after_success:
- codecov

jobs:
allow_failures:
- python: 3.9-dev
- env: TOXENV=lint

include:
- stage: test
env: TOXENV=lint
python: 3.8
after_success: skip

Expand Down
13 changes: 13 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
Changelog
---------

2.1.0
~~~~~

* Support unittest, so you don't need pytest anymore

* Fixed a bug where Ctrl+C wouldn't exit mutmut

* Support for Coverage 5

* Skip mutating test files if they are in the same source tree as the main code

* Advanced whitelisting: More advanced AST level callback

2.0.0
~~~~~

Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ You can get started with a simple:
pip install mutmut
mutmut run
This will by default run pytest on tests in the "tests" or "test" folder and
This will by default run pytest (or unittest if pytest is unavailable)
on tests in the "tests" or "test" folder and
it will try to figure out where the code to mutate lies. Run

.. code-block:: console
Expand Down
2 changes: 1 addition & 1 deletion mutmut/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from parso import parse
from parso.python.tree import Name, Number, Keyword

__version__ = '2.0.0'
__version__ = '2.1.0'


try:
Expand Down
1 change: 0 additions & 1 deletion tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import pytest
from click.testing import CliRunner
from coverage import CoverageData

from mutmut import (
compute_exit_code,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py3{6,7,8,9}
envlist = py3{7,8,9}
skip_missing_interpreters = True

[testenv]
Expand Down

0 comments on commit 8b0923c

Please sign in to comment.