Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

Commit

Permalink
Merge pull request #138 from cclauss/patch-2
Browse files Browse the repository at this point in the history
Testing both Python 2 and Python 3
  • Loading branch information
maennel authored Jul 5, 2017
2 parents a6eaf2b + d2de03c commit c9c9bf0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
language: python
python: "2.7"
python:
- "2.7"
- "3.6"

env:
- TOX_ENV=py27-django18-pg
- TOX_ENV=py27-django18-sqlite
- TOX_ENV=py34-django18-pg
- TOX_ENV=py34-django18-sqlite
- TOX_ENV=py36-django18-pg
- TOX_ENV=py36-django18-sqlite

# Enable PostgreSQL usage
addons:
Expand All @@ -14,6 +16,7 @@ addons:
# Dependencies
install:
- pip install tox
- pip install tox-travis
- pip install coveralls

# Ensure PostgreSQL-DB to be configured correctly
Expand All @@ -25,7 +28,7 @@ before_script:

# Run tests
script:
tox -e $TOX_ENV
tox

# Run coveralls
after_success:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[tox]
envlist =
py{27,34}-django{18}-{sqlite,pg}
py{27,36}-django{18}-{sqlite,pg}

[testenv]
deps =
Expand Down

0 comments on commit c9c9bf0

Please sign in to comment.