Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for more version of Python and Django #706

Open
wiliamsouza opened this issue Apr 18, 2019 · 1 comment
Open

Add tests for more version of Python and Django #706

wiliamsouza opened this issue Apr 18, 2019 · 1 comment

Comments

@wiliamsouza
Copy link
Member

wiliamsouza commented Apr 18, 2019

Example branch https://travis-ci.org/wiliamsouza/django-oauth-toolkit/builds/520939107?utm_source=github_status&utm_medium=notification

# https://travis-ci.org/jazzband/django-oauth-toolkit
dist: xenial

language: python

matrix:
    include:
      - python: 3.4
        env: TOX_ENV=py34-django20
      - python: 3.4
        env: TOX_ENV=py34-django21
      - python: 3.4
        env: TOX_ENV=py34-django22
      - python: 3.5
        env: TOX_ENV=py35-django20
      - python: 3.5
        env: TOX_ENV=py35-django21
      - python: 3.5
        env: TOX_ENV=py35-django22
      - python: 3.6
        env: TOX_ENV=py36-django20
      - python: 3.6
        env: TOX_ENV=py36-django21
      - python: 3.6
        env: TOX_ENV=py36-django22
      - python: 3.7
        env: TOX_ENV=py37-django20
      - python: 3.7
        env: TOX_ENV=py37-django21
      - python: 3.7
        env: TOX_ENV=py37-django22

cache:
  directories:
    - $HOME/.cache/pip
    - $TRAVIS_BUILD_DIR/.tox

install:
  - pip install coveralls tox tox-travis

script:
  - tox -e $TOX_ENV

after_script:
  - coveralls

Use it as a starting point and see why some environments have broken tests

@poswald poswald changed the title Add texts to more version of Python and Django Add tests for more version of Python and Django May 29, 2019
@poswald
Copy link
Collaborator

poswald commented May 29, 2019

I'm not sure how far back on python versions to go (maybe 3.6 and 3.7?) but I'm certainly interested in tests against LTS and current/upcoming Django versions. Send a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants