Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
v1.1.0: Updated documentation.
Browse files Browse the repository at this point in the history
Also tidied up CI config files. They're now in chronological order.
  • Loading branch information
Robpol86 committed Dec 29, 2014
1 parent 6afaf9c commit c58c730
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 21 deletions.
28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,25 @@ python:
- 3.3
- 3.4

services:
- redis-server
#- rabbitmq
#- mongodb
#- couchdb

install:
- python -c 'import setup; print(setup.REQUIRES_PIP)' |xargs pip install
- pip install robpol86-codecov
- pip install .

before_script:
- echo -e "daemonize yes\nunixsocket /tmp/redis.sock\nport 0" |redis-server -
- mysql -u root -e 'CREATE DATABASE flask_celery_helper_test;'
- mysql -u root -e 'GRANT ALL PRIVILEGES ON flask_celery_helper_test.* TO "user"@"localhost" IDENTIFIED BY "pass";'
- psql -U postgres -c 'CREATE DATABASE flask_celery_helper_test;'
- psql -U postgres -c "CREATE USER user1 WITH PASSWORD 'pass';"
- psql -U postgres -c 'GRANT ALL PRIVILEGES ON DATABASE flask_celery_helper_test TO user1;'

script:
- python setup.py test && mv .coverage .coverage.sqlite # SQLAlchemy SQLite
- BROKER=mysql python setup.py test && mv .coverage .coverage.mysql
Expand All @@ -27,17 +41,3 @@ script:
after_success:
- coverage combine
- codecov

before_script:
- echo -e "daemonize yes\nunixsocket /tmp/redis.sock\nport 0" |redis-server -
- mysql -u root -e 'CREATE DATABASE flask_celery_helper_test;'
- mysql -u root -e 'GRANT ALL PRIVILEGES ON flask_celery_helper_test.* TO "user"@"localhost" IDENTIFIED BY "pass";'
- psql -U postgres -c 'CREATE DATABASE flask_celery_helper_test;'
- psql -U postgres -c "CREATE USER user1 WITH PASSWORD 'pass';"
- psql -U postgres -c 'GRANT ALL PRIVILEGES ON DATABASE flask_celery_helper_test TO user1;'

services:
- redis-server
#- rabbitmq
#- mongodb
#- couchdb
12 changes: 10 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,14 @@ Single Instance Example
Changelog
---------

1.1.0
`````

* Added Windows support.
* ``CELERY_RESULT_BACKEND`` no longer mandatory.
* ``single_instance`` supported on SQLite/MySQL/PostgreSQL in addition to Redis.
* Breaking changes: ``flask.ext.celery.CELERY_LOCK`` moved to ``flask.ext.celery._LockManagerRedis.CELERY_LOCK``.

1.0.0
`````

Expand All @@ -183,12 +191,12 @@ Changelog
0.2.1
`````

* Fixed single_instance arguments with functools.
* Fixed ``single_instance`` arguments with functools.

0.2.0
`````

* Added include_args argument to single_instance.
* Added include_args argument to ``single_instance``.

0.1.0
`````
Expand Down
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ install:
- ps: pip install $(python -c 'import setup; print(setup.REQUIRES_PIP)')
- pip install robpol86-codecov

services:
- mysql
- postgresql

build_script:
- ps: mv .git ..
- pip install .
Expand Down Expand Up @@ -52,7 +56,3 @@ test_script:
after_test:
- coverage combine
- codecov

services:
- mysql
- postgresql
2 changes: 1 addition & 1 deletion flask_celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

__author__ = '@Robpol86'
__license__ = 'MIT'
__version__ = '1.0.0'
__version__ = '1.1.0'


class OtherInstanceError(Exception):
Expand Down

0 comments on commit c58c730

Please sign in to comment.