Skip to content

Commit cb0896c

Browse files
committed
start using coverage and add license badge on README page
1 parent f8eda54 commit cb0896c

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ install:
1818

1919
script:
2020
- pytest
21+
- pytest --cov=pythonanywhere --cov=scripts --cov-fail-under=65

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[![Build Status](https://travis-ci.org/pythonanywhere/helper_scripts.svg?branch=master)](https://travis-ci.org/pythonanywhere/helper_scripts)
2+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3+
24

35
# PythonAnywhere helper scripts
46

@@ -23,6 +25,8 @@ Pull requests are welcome! You'll find tests in the [tests](tests) folder...
2325
# running the tests:
2426
pytest
2527

28+
# make sure that the code that you have written is well tested:
29+
pytest --cov=pythonanywhere --cov=scripts
30+
2631
# to just run the fast tests:
2732
pytest -m 'not slowtest' -v
28-

requirements.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
1+
certifi==2018.10.15
2+
chardet==3.0.4
3+
cookies==2.2.1
4+
coverage==4.5.1
15
docopt==0.6.2
6+
idna==2.6
7+
pbr==5.1.0
28
psutil==5.4.0
9+
py==1.7.0
310
pytest==3.2.3
11+
pytest-cov==2.6.0
412
requests==2.18.4
513
responses==0.8.1
14+
six==1.11.0
15+
stevedore==1.30.0
16+
urllib3==1.22
17+
virtualenv==16.0.0
18+
virtualenv-clone==0.4.0
619
virtualenvwrapper==4.8.2

0 commit comments

Comments
 (0)