Skip to content

Commit e14c66b

Browse files
authored
Fix dist build & CI (#282)
1 parent 4defa59 commit e14c66b

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: python
2-
3-
sudo: false
2+
dist: xenial
43

54
python:
65
- "3.4"
@@ -9,9 +8,9 @@ python:
98

109
install:
1110
- travis_retry pip install -U six setuptools pip wheel
12-
- travis_retry pip install detox tox-travis tox-venv coverage
11+
- travis_retry pip install -U tox tox-travis tox-venv coverage
1312
script:
14-
- detox
13+
- tox
1514
after_success:
1615
- coverage report
1716
- bash <(curl -s https://codecov.io/bash)
@@ -30,6 +29,7 @@ matrix:
3029
env: TOXENV="dist"
3130
script:
3231
- python setup.py bdist_wheel
32+
- rm -r djangorestframework_filters.egg-info
3333
- tox --installpkg ./dist/djangorestframework_filters-*.whl
3434
- tox # test sdist
3535

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Django Rest Framework Filters
22
=============================
33

4-
.. image:: https://travis-ci.org/philipn/django-rest-framework-filters.png?branch=master
4+
.. image:: https://travis-ci.org/philipn/django-rest-framework-filters.svg?branch=master
55
:target: https://travis-ci.org/philipn/django-rest-framework-filters
66

77
.. image:: https://codecov.io/gh/philipn/django-rest-framework-filters/branch/master/graph/badge.svg
@@ -51,8 +51,8 @@ Requirements
5151
------------
5252

5353
* **Python**: 3.4, 3.5, 3.6
54-
* **Django**: 1.11, 2.0, 2.1b1
55-
* **DRF**: 3.8
54+
* **Django**: 1.11, 2.0, 2.1
55+
* **DRF**: 3.9
5656
* **django-filter**: 2.0
5757

5858

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ setenv =
1515
PYTHONDONTWRITEBYTECODE=1
1616
deps =
1717
coverage>=4.0
18-
djangorestframework~=3.8
18+
djangorestframework~=3.9
1919
django111: django~=1.11
2020
django20: django~=2.0
21-
django21: django~=2.1b1
21+
django21: django~=2.1
2222

2323

2424
[testenv:performance]
@@ -44,9 +44,10 @@ deps = flake8
4444

4545
[testenv:dist]
4646
commands =
47-
python setup.py check -rs
47+
twine check dist/*
4848
python manage.py test --no-pkgroot {posargs}
4949
deps =
5050
django
5151
djangorestframework
5252
readme_renderer
53+
twine

0 commit comments

Comments
 (0)