diff --git a/.gitignore b/.gitignore index 947e5a1..e7da71b 100644 --- a/.gitignore +++ b/.gitignore @@ -89,6 +89,7 @@ venv/ ENV/ env.bak/ venv.bak/ +venv*/ # Spyder project settings .spyderproject @@ -102,6 +103,3 @@ venv.bak/ # mypy .mypy_cache/ - -# My venv -ga/ diff --git a/.travis.yml b/.travis.yml index ea45f8d..8d2071c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,6 @@ install: - pip install -r requirements_dev.txt - pip install -e . script: - - pytest + - pytest --cov=notebookc +after_success: + - coveralls diff --git a/notebookc/notebookc.py b/notebookc/notebookc.py index 0648a01..6e68b2b 100644 --- a/notebookc/notebookc.py +++ b/notebookc/notebookc.py @@ -9,5 +9,4 @@ def convert(my_name): if not isinstance(my_name, str): raise TypeError("Please provide a string argument.") - print(f"I'll convert a notebook for you some day, {my_name}.") diff --git a/requirements_dev.txt b/requirements_dev.txt index 823683a..92b9ce2 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -2,3 +2,5 @@ pip==19.0.3 wheel==0.33.0 twine==1.13.0 pytest==4.3.0 +pytest-cov==2.6.1 +coveralls==1.6.0