Skip to content

Commit

Permalink
Test against new versions of Django/Python
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Jul 1, 2020
1 parent a6ce45d commit cf77466
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 361 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@ python:
- "3.4"
- "3.5"
- "3.6"

# https://github.com/travis-ci/travis-ci/issues/9815#issuecomment-411073985
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
- "3.7"
- "3.8"

install: pip install tox-travis coverage codacy-coverage

Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM python:3.7

WORKDIR /app
RUN pip install -U pipenv
COPY Pipfile Pipfile.lock setup.cfg setup.py ./
COPY requirements-dev.txt setup.cfg setup.py ./
COPY django_alive/__init__.py ./django_alive
RUN pipenv install
ENV PATH=/root/.local/share/virtualenvs/app-4PlAip0Q/bin:${PATH}
RUN python -m pip install -r requirements-dev.txt -e .
CMD pytest
COPY . .
15 changes: 0 additions & 15 deletions Pipfile

This file was deleted.

335 changes: 0 additions & 335 deletions Pipfile.lock

This file was deleted.

3 changes: 3 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tox
isort
zest.releaser
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers =
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Framework :: Django

[options]
Expand Down
Loading

0 comments on commit cf77466

Please sign in to comment.