From 34dcae2a254d0162c722c60021f5f98753f0116e Mon Sep 17 00:00:00 2001 From: Erik Taubeneck Date: Wed, 25 Jun 2014 11:33:39 -0400 Subject: [PATCH] add .travis.yml --- .travis.yml | 13 +++++++++++++ README.md | 6 ++++++ setup.py | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9bbf75f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: python +python: + - "2.7" + - "3.3" + - "pypy" +install: + - pip install -r dev_requirements.txt + +script: nosetests +after_success: + - pip install coveralls + - coverage run --source=ordbok setup.py -q nosetests + - coveralls \ No newline at end of file diff --git a/README.md b/README.md index b4ed9a9..41c0531 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # Ordbok +[![Build Status](https://travis-ci.org/alphaworksinc/ordbok.svg?branch=master)](https://travis-ci.org/alphaworksinc/ordbok) +[![Coverage Status](https://coveralls.io/repos/alphaworksinc/ordbok/badge.png?branch=master)](https://coveralls.io/r/alphaworksinc/ordbok?branch=master) +[![Latest Version](https://pypip.in/version/ordbok/badge.png)](https://pypi.python.org/pypi/ordbok/) +[![Downloads](https://pypip.in/download/ordbok/badge.png)](https://pypi.python.org/pypi/ordbok/) +[![License](https://pypip.in/license/ordbok/badge.png)](https://pypi.python.org/pypi/ordbok/) + As your application grows, configuration can get a bit chaotic, especially if you have multiple versions (local, deployed, staging, etc.) Ordbok brings order to that chaos. Ordbok abstracts the loading of a configuration from YAML files into a Python dictionary, and also has a specific setup for use with Flask. See [TODO](#todo) for plans to expand this. diff --git a/setup.py b/setup.py index d8bd5fd..8e6f84f 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ py_modules=['ordbok'], zip_safe=False, include_package_data=True, - playforms='any', + platforms='any', install_requires=[ 'pyyaml' ],