Added support for Travis and unittests.

This commit is contained in:
2014-04-19 23:53:35 +01:00
parent 39c24efc74
commit d3297e5361
4 changed files with 15 additions and 0 deletions

11
.travis.yml Normal file
View File

@@ -0,0 +1,11 @@
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
install:
- "pip install coverage"
script:
- "coverage run --source=pynab setup.py test"

View File

@@ -3,6 +3,8 @@ pYNAB
```pYNAB``` is a read-only YNAB4 budget file reader for Python, with support for Python 2.7 and 3.2+
[![Build Status](https://travis-ci.org/nikdoof/pynab.png)](https://travis-ci.org/nikdoof/pynab)
Why?
----

1
pynab/tests/__init__.py Normal file
View File

@@ -0,0 +1 @@
__author__ = 'nikdoof'

View File

@@ -40,4 +40,5 @@ setup(
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
],
test_suite='pynab.tests',
)