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
|
||||
[![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.
|
||||
|
||||
|
@ -1,10 +1,15 @@
|
||||
machine:
|
||||
python:
|
||||
version: 3.4.2
|
||||
dependencies:
|
||||
override:
|
||||
- pip install -r requirements-test.txt
|
||||
- python setup.py install
|
||||
test:
|
||||
override:
|
||||
- coverage run -m unittest discover
|
||||
post:
|
||||
- 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
|
||||
- coveralls
|
||||
|
@ -1,2 +1,3 @@
|
||||
-r requirements.txt
|
||||
coverage
|
||||
coveralls
|
||||
|
Loading…
Reference in New Issue
Block a user