Skip to content

Commit

Permalink
Merge pull request #129 from mfonism/2020.03.14/update-python-and-dja…
Browse files Browse the repository at this point in the history
…ngo-support

Update Python and Django Support
  • Loading branch information
KatherineMichel authored Jul 18, 2020
2 parents be1d649 + f7f784c commit 2f073b0
Show file tree
Hide file tree
Showing 22 changed files with 174 additions and 348 deletions.
64 changes: 29 additions & 35 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 2.0
version: 2.1

common: &common
working_directory: ~/repo
Expand All @@ -7,9 +7,10 @@ common: &common
- restore_cache:
keys:
- v2-deps-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
- v2-deps-
- run:
name: install dependencies
command: pip install --user tox
command: pip install --user tox codecov "coverage<5"
- run:
name: run tox
command: ~/.local/bin/tox
Expand All @@ -18,7 +19,6 @@ common: &common
command: |
if [[ "$UPLOAD_COVERAGE" != 0 ]]; then
PATH=$HOME/.local/bin:$PATH
pip install --user codecov
coverage xml
~/.local/bin/codecov --required -X search gcov pycov -f coverage.xml --flags $CIRCLE_JOB
fi
Expand All @@ -34,62 +34,56 @@ jobs:
lint:
<<: *common
docker:
- image: circleci/python:3.6
- image: circleci/python:3.8
environment:
- TOXENV=checkqa
- UPLOAD_COVERAGE=0
py27dj111:
py36dj22:
<<: *common
docker:
- image: circleci/python:2.7
environment:
TOXENV=py27-dj111
py34dj111:
<<: *common
docker:
- image: circleci/python:3.4
- image: circleci/python:3.6
environment:
TOXENV=py34-dj111
py34dj20:
TOXENV=py36-dj22
py36dj30:
<<: *common
docker:
- image: circleci/python:3.4
- image: circleci/python:3.6
environment:
TOXENV=py34-dj20
py35dj111:
TOXENV=py36-dj30
py37dj22:
<<: *common
docker:
- image: circleci/python:3.5
- image: circleci/python:3.7
environment:
TOXENV=py35-dj111
py35dj20:
TOXENV=py37-dj22
py37dj30:
<<: *common
docker:
- image: circleci/python:3.5
- image: circleci/python:3.7
environment:
TOXENV=py35-dj20
py36dj111:
TOXENV=py37-dj30
py38dj22:
<<: *common
docker:
- image: circleci/python:3.6
- image: circleci/python:3.8
environment:
TOXENV=py36-dj111
py36dj20:
TOXENV=py38-dj22
py38dj30:
<<: *common
docker:
- image: circleci/python:3.6
- image: circleci/python:3.8
environment:
TOXENV=py36-dj20
TOXENV=py38-dj30

workflows:
version: 2
test:
jobs:
- lint
- py27dj111
- py34dj111
- py34dj20
- py35dj111
- py35dj20
- py36dj111
- py36dj20
- py36dj22
- py36dj30
- py37dj22
- py37dj30
- py38dj22
- py38dj30

7 changes: 0 additions & 7 deletions .coveragerc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pip-delete-this-directory.txt
htmlcov/
.tox/
.coverage
.coveragerc
.cache
nosetests.xml
coverage.xml
Expand Down
45 changes: 27 additions & 18 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
Patrick Altman
Brian Rosner
Thomas Schreiber
James Tauber
Nolan Brubaker
Dave Lowe
Luke Hatcher
Steven Wilcox
Jeremy Phelps
Alexis Santos
Issac Kelly
Chris Gemignani
Javyer DerDerian
Alexis Santos
Joe di Stefano
Enrique García Navalón
Graham Ullrich
Katherine “Kati” Michel
Brian Rosner <[email protected]>
James Tauber <[email protected]>
Patrick Altman <[email protected]>
Issac Kelly <[email protected]>
Luke Hatcher <[email protected]>
Jeremy Phelps <[email protected]>
Chris Gemignani <[email protected]>
Alexis Santos <[email protected]>
The Gitter Badger <[email protected]>
swilcox <[email protected]>
Javyer DerDerian <[email protected]>
Alexis Santos <[email protected]>
Hiroshi Miura <[email protected]>
Huw Wilkins <[email protected]>
Anna Ossowski <[email protected]>
Thomas Schreiber <[email protected]>
arthur_wsw <[email protected]>
Graham Ullrich <[email protected]>
Joe di Stefano <[email protected]>
Enrique García Navalón <[email protected]>
VICKY LEONG <[email protected]>
Flavia Bastos <[email protected]>
Katherine Michel <[email protected]>
Hugo David-Boyet <[email protected]>
Benjamin Kampmann <[email protected]>
Merlin Dienst <[email protected]>
Mfon Eti-mfon <[email protected]>
160 changes: 0 additions & 160 deletions CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2012-2019 James Tauber and contributors
Copyright (c) 2012-present James Tauber and contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ all: init test

init:
python setup.py develop
pip install detox coverage
pip install tox "coverage<5"

test:
coverage erase
detox
tox --parallel--safe-build
coverage html
Loading

0 comments on commit 2f073b0

Please sign in to comment.