Skip to content

Commit 2491e4a

Browse files
authored
Merge pull request #13 from mrjmad/master
Add support (in tox) for Python 3.6. Add PG configuration for Travis.
2 parents ad0347f + 547ab9e commit 2491e4a

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Config file for automatic testing at travis-ci.org
22
language: python
33

4+
services:
5+
- postgresql
6+
7+
env:
8+
global : DATABASE_URL=postgres://postgres:@127.0.0.1:5432
9+
410
matrix:
511
include:
612
# Python version is just for the look on travis.
@@ -49,6 +55,12 @@ matrix:
4955
- python: 3.5
5056
env: TOX_ENV=py35-djangostable
5157

58+
- python: 3.6
59+
env: TOX_ENV=py36-django111
60+
61+
- python: 3.6
62+
env: TOX_ENV=py36-djangostable
63+
5264
- env: TOX_ENV=linters
5365

5466
install:

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
'Framework :: Django :: 1.9',
5555
'Framework :: Django :: 1.10',
5656
'Framework :: Django :: 1.11',
57+
'Framework :: Django :: 2.0',
5758
'Framework :: Django',
5859
'Intended Audience :: Developers',
5960
'License :: OSI Approved :: BSD License',
@@ -63,5 +64,6 @@
6364
'Programming Language :: Python :: 3',
6465
'Programming Language :: Python :: 3.4',
6566
'Programming Language :: Python :: 3.5',
67+
'Programming Language :: Python :: 3.6',
6668
],
6769
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
skipsdist = True
33
envlist =
4-
{py27,py34,py35}-django{18,19,110,111,stable},linters
4+
{py27,py34,py35}-django{18,19,110,111,stable},{py36}-django{111,stable},linters
55

66
[testenv]
77
passenv = DATABASE_URL COVERAGE

0 commit comments

Comments
 (0)