Skip to content

Commit 78716ed

Browse files
committed
Simplify travis script, delete requirements.txt
1 parent f083e5e commit 78716ed

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

.travis.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@ python:
55
- '3.5'
66
- '3.6'
77
- 'pypy3'
8-
install:
9-
- pip install -r requirements.txt
10-
- pip install coveralls coverage
11-
- pip install -U setuptools
12-
- pip install pytest --upgrade
138
script:
14-
- python setup.py install
9+
- pip install .
1510
- coverage run --source flask_rest_jsonapi -m pytest -v
1611
after_success:
1712
- coveralls

requirements.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,12 @@
3232
],
3333
setup_requires=['pytest-runner'],
3434
tests_require=['pytest'],
35-
extras_require={'tests': 'pytest', 'docs': 'sphinx'}
35+
extras_require={
36+
'tests': [
37+
'pytest',
38+
'coveralls',
39+
'coverage'
40+
],
41+
'docs': 'sphinx'
42+
}
3643
)

0 commit comments

Comments
 (0)