aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2014-06-02 14:54:06 +0200
committerMatěj Cepl <mcepl@redhat.com>2014-06-02 15:14:15 +0200
commit735015800cecf9ccd0f4ac52a4e83591d6d94a5d (patch)
tree09a48ad9c9e0f657dc46b8cd4f7ecb97ffe21e36
parent1c78be3b421ea6c7f4254c7c957bed4cb82ef0e8 (diff)
downloadyamlish-735015800cecf9ccd0f4ac52a4e83591d6d94a5d.tar.gz
Add Travis-CI support
-rw-r--r--.gitignore1
-rw-r--r--.travis.yml6
-rw-r--r--README.rst (renamed from README.txt)34
-rw-r--r--setup.py2
4 files changed, 27 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index 4ceff34..2fdc27b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
MANIFEST
build/
dist/
+yamlish.egg-info/
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..20af494
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,6 @@
+language: python
+python:
+ - "2.6"
+ - "2.7"
+ - "pypy"
+script: PYTHONPATH=$PYTHONPATH:. python setup.py test
diff --git a/README.txt b/README.rst
index 8858694..2c22052 100644
--- a/README.txt
+++ b/README.rst
@@ -1,15 +1,19 @@
-YAMLish is a small subset of YAML that TAP producers may use to
-embed machine readable information in TAP diagnostics. See TAP
-diagnostic syntax for information about how YAMLish embeds in
-TAP.
-
-----------------------------
-Based on Data-YAML version 0.0.6
-(Copyright (C) 2007, Andy Armstrong)
-but it is so thoroughly rewritten that I don't consider it
-derived work and I don't feel the need to resolve what "This
-library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself." actually means.
-
-Whole this package is licensed under MIT/X11 license (see header
-of yamlish.py for details).
+.. image:: https://travis-ci.org/mcepl/yamlish.svg?branch=master
+ :target: https://travis-ci.org/mcepl/yamlish
+
+YAMLish is a small subset of YAML that TAP producers may use to
+embed machine readable information in TAP diagnostics. See TAP
+diagnostic syntax for information about how YAMLish embeds in
+TAP.
+
+----------------------------
+
+Based on Data-YAML version 0.0.6
+(Copyright (C) 2007, Andy Armstrong)
+but it is so thoroughly rewritten that I don't consider it
+derived work and I don't feel the need to resolve what "This
+library is free software; you can redistribute it and/or modify
+it under the same terms as Perl itself." actually means.
+
+Whole this package is licensed under MIT/X11 license (see header
+of yamlish.py for details).
diff --git a/setup.py b/setup.py
index 746509b..c3490e9 100644
--- a/setup.py
+++ b/setup.py
@@ -18,7 +18,7 @@ setup(
author_email='mcepl@redhat.com',
url='http://luther.ceplovi.cz/git/?p=yamlish.git;a=summary',
py_modules=['yamlish'],
- long_description=read("README.txt"),
+ long_description=read("README.rst"),
keywords=['TAP', 'YAML', 'yamlish'],
classifiers=[
"Programming Language :: Python",