Skip to content

Commit

Permalink
Update build files
Browse files Browse the repository at this point in the history
  • Loading branch information
mrouhi13 committed Mar 9, 2020
1 parent ba1c37b commit 19abaa7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 44 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
max-parallel: 4
Expand All @@ -28,6 +27,6 @@ jobs:
- name: Run Tests
run: |
pipenv run tox -v
- name: Update Coverage Report
- name: Update CodeCov Report
run: |
pipenv run codecov
27 changes: 0 additions & 27 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ init:
setup:
cp testproject/settings.py.sample testproject/settings.py


activate:
pipenv shell

Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
setup(
name='djecrety',
version=version,
python_requires='>=3.5',
python_requires='>=3.6',
packages=find_packages(exclude=['testproject']),
include_package_data=True,
license='GNU Version 3 License',
Expand All @@ -34,13 +34,14 @@
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Security :: Cryptography',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
Expand Down
5 changes: 0 additions & 5 deletions testproject/settings.py.sample
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ DEBUG = False
# Application definition

INSTALLED_APPS = [
# Default
'django.contrib.auth',
'django.contrib.contenttypes',

# Local
'djecrety',
]

Expand Down
15 changes: 8 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
[tox]
envlist =
py{35,36,37}-dj20
py{35,36,37}-dj21
py{35,36,37}-dj22
py{36,37,38}-dj20
py{36,37,38}-dj21
py{36,37,38}-dj22
py{36,37,38}-dj30
skipsdist = true

[testenv]
passenv = CI TRAVIS TRAVIS_*
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
deps =
dj22: django>=2.2,<2.3
dj21: django>=2.1,<2.2
dj20: django>=2.0,<2.1
dj21: django>=2.1,<2.2
dj22: django>=2.2,<2.3
dj30: django>=3.0,<3.1
commands =
make test

0 comments on commit 19abaa7

Please sign in to comment.