diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5aaaca6 --- /dev/null +++ b/.travis.yml @@ -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" \ No newline at end of file diff --git a/README.md b/README.md index 675eedc..6b4f8b7 100644 --- a/README.md +++ b/README.md @@ -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? ---- diff --git a/pynab/tests/__init__.py b/pynab/tests/__init__.py new file mode 100644 index 0000000..87eaf32 --- /dev/null +++ b/pynab/tests/__init__.py @@ -0,0 +1 @@ +__author__ = 'nikdoof' diff --git a/setup.py b/setup.py index 46e36a6..78ea07d 100644 --- a/setup.py +++ b/setup.py @@ -40,4 +40,5 @@ setup( 'Operating System :: OS Independent', 'Topic :: Software Development :: Libraries :: Python Modules', ], + test_suite='pynab.tests', ) \ No newline at end of file