Skip to content

Commit

Permalink
Package the code for better coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
paraita committed Dec 19, 2016
1 parent f41aa97 commit ad5e5a1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ python:
- "2.6"
- "2.7"
install:
- pip install -r requirements.txt
script: nosetests --with-coverage main.py
- pip install .
- pip install coverage
- pip install coveralls
script: coverage run --source=billybob setup.py test
after_success:
- coveralls
Empty file added billybob/__init__.py
Empty file.
24 changes: 24 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup

setup(name='billybob',
version='0.1',
description="BillyBob is the really handy deputy sheriff you didn't know you needed",
url='http://github.com/paraita/billybob',
author='Paraita Wohler',
author_email='paraita.wohler@gmail.com',
license='MIT',
packages=['billybob'],
install_requires=[
'slackclient'
],
test_suite='nose.collector',
tests_require=[
'mock',
'nose',
'coverage',
'coveralls'
],
zip_safe=False)

0 comments on commit ad5e5a1

Please sign in to comment.