Skip to content

Commit fbd568b

Browse files
committed
Merge branch 'feature/continuous-integration' into develop
2 parents 8deb443 + d3e6d16 commit fbd568b

File tree

9 files changed

+64
-89
lines changed

9 files changed

+64
-89
lines changed

.travis.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
language: python
2+
python:
3+
- 2.6
4+
- 2.7
5+
- 3.2
6+
- 3.3
7+
- 3.4
8+
env:
9+
- DJANGO=1.4
10+
- DJANGO=1.5
11+
- DJANGO=1.6
12+
- DJANGO=1.7
13+
- DJANGO=1.8
14+
matrix:
15+
exclude:
16+
- python: 2.6
17+
env: DJANGO=1.8
18+
- python: 2.6
19+
env: DJANGO=1.7
20+
- python: 3.2
21+
env: DJANGO=1.4
22+
- python: 3.3
23+
env: DJANGO=1.4
24+
- python: 3.4
25+
env: DJANGO=1.4
26+
fast_finish: true
27+
install:
28+
- pip install -U setuptools
29+
- python bootstrap.py
30+
- ./bin/buildout versions:django=$DJANGO
31+
before_script:
32+
- ./bin/flake8 tagging
33+
script:
34+
- ./bin/test-and-cover
35+
after_success:
36+
- ./bin/coveralls
37+
notifications:
38+
irc:
39+
- "irc.freenode.org#django-tagging"

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Django Tagging
22
--------------
33

4-
Copyright (c) 2007, Jonathan Buchanan
4+
Copyright (c) 2007-2015, Jonathan Buchanan, Julien Fache
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy of
77
this software and associated documentation files (the "Software"), to deal in

MANIFEST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CHANGELOG.txt
33
INSTALL.txt
44
LICENSE.txt
55
MANIFEST.in
6-
README.txt
6+
README.rst
77
setup.py
88
docs/overview.txt
99
tagging/__init__.py

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ include CHANGELOG.txt
22
include INSTALL.txt
33
include LICENSE.txt
44
include MANIFEST.in
5-
include README.txt
5+
include README.rst
66
recursive-include docs *.txt
77
recursive-include tagging/tests *.txt

README.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
==============
2+
Django Tagging
3+
==============
4+
5+
|travis-develop| |coverage-develop|
6+
7+
This is a generic tagging application for Django projects
8+
9+
For installation instructions, see the file "INSTALL.txt" in this
10+
directory; for instructions on how to use this application, and on
11+
what it provides, see the file "overview.txt" in the "docs/"
12+
directory.
13+
14+
.. |travis-develop| image:: https://travis-ci.org/Fantomas42/django-tagging.png?branch=develop
15+
:alt: Build Status - develop branch
16+
:target: http://travis-ci.org/Fantomas42/django-tagging
17+
.. |coverage-develop| image:: https://coveralls.io/repos/Fantomas42/django-tagging/badge.png?branch=develop
18+
:alt: Coverage of the code
19+
:target: https://coveralls.io/r/Fantomas42/django-tagging

README.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

runtests.py

Lines changed: 0 additions & 31 deletions
This file was deleted.

tagging/tests/tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,12 +355,12 @@ def test_update_tags_exotic_characters(self):
355355
self.assertEqual(tags[0].name, '你好')
356356

357357
def test_unicode_tagged_object(self):
358-
self.dead_parrot.state = u"dëad"
358+
self.dead_parrot.state = "dëad"
359359
self.dead_parrot.save()
360-
Tag.objects.update_tags(self.dead_parrot, u'föo')
360+
Tag.objects.update_tags(self.dead_parrot, 'föo')
361361
items = TaggedItem.objects.all()
362362
self.assertEqual(len(items), 1)
363-
self.assertEqual(six.text_type(items[0]), u"dëad [föo]")
363+
self.assertEqual(six.text_type(items[0]), "dëad [föo]")
364364

365365
def test_update_tags_with_none(self):
366366
# start off in a known, mildly interesting state

tox.ini

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)