mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-09 09:59:51 +01:00
add coveralls
This commit is contained in:
parent
917dd75cf2
commit
8111eadd20
@ -1,6 +1,5 @@
|
|||||||
# pirate-get
|
# pirate-get
|
||||||
[![Circle CI](https://circleci.com/gh/vikstrous/pirate-get/tree/master.svg?style=shield)](https://circleci.com/gh/vikstrous/pirate-get/tree/master)
|
[![Circle CI](https://circleci.com/gh/vikstrous/pirate-get/tree/master.svg?style=shield)](https://circleci.com/gh/vikstrous/pirate-get/tree/master) [![Coverage Status](https://coveralls.io/repos/vikstrous/pirate-get/badge.svg?branch=master&service=github)](https://coveralls.io/github/vikstrous/pirate-get?branch=master)
|
||||||
|
|
||||||
|
|
||||||
pirate-get is a convenient command line tool (inspired by APT) to speed up your trip to the Pirate Bay and get your completely legal torrents more quickly.
|
pirate-get is a convenient command line tool (inspired by APT) to speed up your trip to the Pirate Bay and get your completely legal torrents more quickly.
|
||||||
|
|
||||||
|
@ -1,10 +1,15 @@
|
|||||||
machine:
|
machine:
|
||||||
python:
|
python:
|
||||||
version: 3.4.2
|
version: 3.4.2
|
||||||
|
dependencies:
|
||||||
|
override:
|
||||||
|
- pip install -r requirements-test.txt
|
||||||
|
- python setup.py install
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- coverage run -m unittest discover
|
- coverage run -m unittest discover
|
||||||
post:
|
post:
|
||||||
- mkdir -p $CIRCLE_ARTIFACTS/coverage
|
- mkdir -p $CIRCLE_ARTIFACTS/coverage
|
||||||
- cd /home/ubuntu/pirate-get && coverage html --include=`pwd`* --omit="*/tests/*,*migrations*,*__init__*"
|
- cd /home/ubuntu/pirate-get && coverage html --include=`pwd`*
|
||||||
- cp -R /home/ubuntu/pirate-get/htmlcov/* $CIRCLE_ARTIFACTS/coverage
|
- cp -R /home/ubuntu/pirate-get/htmlcov/* $CIRCLE_ARTIFACTS/coverage
|
||||||
|
- coveralls
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
coverage
|
coverage
|
||||||
|
coveralls
|
||||||
|
4
setup.py
4
setup.py
@ -21,4 +21,6 @@ setup(name='pirate-get',
|
|||||||
'Topic :: System :: Networking',
|
'Topic :: System :: Networking',
|
||||||
'Programming Language :: Python :: 3 :: Only',
|
'Programming Language :: Python :: 3 :: Only',
|
||||||
'License :: OSI Approved :: GNU General Public License (GPL)',
|
'License :: OSI Approved :: GNU General Public License (GPL)',
|
||||||
])
|
],
|
||||||
|
test_suite='tests',
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user