Skip to content

Commit

Permalink
Update build matrix (#75)
Browse files Browse the repository at this point in the history
* Update travis for Python 3.6 (#71)
* Update travis for Python 3.6
* Update travis excludes
* Prevent call of setup test
* seems like nose already calls this
* updated build matrix
* works fine without
* fix fragile yaml syntax
* django20 is compatible with py34
* drop py33, added py36 classifier
* updated versions, remove pypi downloads shield
  • Loading branch information
kraiz committed Apr 26, 2018
1 parent e6a03b2 commit 2fa5833
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
24 changes: 16 additions & 8 deletions .travis.yml
Expand Up @@ -2,26 +2,34 @@ language: python
sudo: false
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
env:
- REQUIREMENTS="django>=1.8,<1.9"
- REQUIREMENTS="django>=1.9,<1.10"
- REQUIREMENTS="django>=1.10,<1.11"
- REQUIREMENTS="django>=1.11,<2.0"
- REQUIREMENTS="django>=2.0,<2.1"
- REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
matrix:
exclude:
- python: "3.3"
- python: "2.7"
env: REQUIREMENTS="django>=2.0,<2.1"
- python: "2.7"
env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
- python: "3.4"
env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
- python: "3.3"
env: REQUIREMENTS="django>=1.9,<1.10"
- python: "3.3"
env: REQUIREMENTS="django>=1.10,<1.11"
- python: "3.5"
env: REQUIREMENTS="django>=1.7,<1.8"
- python: "3.5"
env: REQUIREMENTS="django>=1.8,<1.9"
- python: "3.6"
env: REQUIREMENTS="django>=1.8,<1.9"
- python: "3.6"
env: REQUIREMENTS="django>=1.9,<1.10"
- python: "3.6"
env: REQUIREMENTS="django>=1.10,<1.11"
- python: "3.6"
env: REQUIREMENTS="django>=1.11,<2.0"
allow_failures:
- env: REQUIREMENTS="https://github.com/django/django/archive/master.tar.gz"
cache:
Expand Down
4 changes: 1 addition & 3 deletions README.rst
Expand Up @@ -2,8 +2,6 @@
:target: https://travis-ci.org/kraiz/django-crontab
.. image:: https://img.shields.io/coveralls/kraiz/django-crontab/master.svg
:target: https://coveralls.io/r/kraiz/django-crontab
.. image:: https://img.shields.io/pypi/dw/django-crontab.svg
:target: https://pypi.python.org/pypi/django-crontab
.. image:: https://img.shields.io/pypi/v/django-crontab.svg
:target: https://pypi.python.org/pypi/django-crontab
.. image:: https://img.shields.io/pypi/pyversions/django-crontab.svg
Expand All @@ -14,7 +12,7 @@
about
=====

dead simple crontab powered job scheduling for django (1.8+).
dead simple crontab powered job scheduling for django (1.8-2.0).

setup
=====
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -30,9 +30,9 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: System :: Installation/Setup'
]
)
4 changes: 0 additions & 4 deletions tests/__init__.py
@@ -1,7 +1,3 @@
import os

from django.test.utils import setup_test_environment


os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
setup_test_environment()

0 comments on commit 2fa5833

Please sign in to comment.