File tree Expand file tree Collapse file tree 4 files changed +25
-19
lines changed
Expand file tree Collapse file tree 4 files changed +25
-19
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,9 @@ before_install:
1616- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; fi
1717- pip install codecov
1818install :
19- - pip install -e .
19+ - pip install -r requirements.txt
2020- pip install -r requirements_dev.txt
21+ - pip install -e .
2122script :
2223- python setup.py test
2324after_success :
@@ -29,4 +30,4 @@ deploy:
2930 secure : iZWZuDMIWyFtJf5cLDPwA82d7DVi+/8yBQJVowctJwkioz4PEZBrf4N7cKyFc7JlhsS0/gqPJ9nw1FBqHwlTFwikpCYjudcfVijzibwKBbTbYTbTY1xEYiv+2/Q2UGoGjGmf2qdqM9SBaQwvax+KgMO6e4I4vrX4cm3kMx4LHt0Z2ArORlhZ0oKxyi6azcFiZYwlOlp31PuV0iNpBkroBf+gQ20S35hD+GIm1U6D4zqkN0HmZ0LxlpZLXsHZ0FrEE57KU06RowWfkAFBkGjMBjr+phiZ/XRe88SFaiB3HVZaJm+ZPTJKnxryuGt5th54Q10DKLZ3KUien33saBYVziamHZ8ZYS01ztahEhqLKlQVB1e+p1M8mYXKVodqLgytOsddixIBmibq2rDJmLSPwro8RBwLhLdGZdRsH2kii06OQxPrzlUrOwtErozxvdNjS47hwjJ4ZVm4ZGcnOXZut4qwkiEEUMWUd54V+zDNnRxOf+hi/mEx3u8CmkV26XFJ7WHpr/E1T9XHuRh7YVP8MXrM3gjoL86g1swalpH/QBjf0UaF2BlTvWJ3j52uThH7MFUlCBgpYer1giJayyNjFw4+qUVMCyByD87V7x6/3glA7t4Kh0LiMq0Zo23PPbhuJOmJmDy6GTtjkXZEJ6XnNPV9+VR8LApmppevBDKafgA=
3031 distributions : sdist bdist_wheel
3132 on :
32- tags : true
33+ tags : true
Original file line number Diff line number Diff line change 1- jsonschema
2- pyaml
3- six
1+ jsonschema == 2.6.0
2+ pyaml == 17.12.1
3+ six == 1.11.0
Original file line number Diff line number Diff line change 1- mock
2- pytest
3- pytest-pep8
4- pytest-flakes
5- pytest-cov
6- tox
1+ mock==2.0.0
2+ pytest==3.5.0
3+ pytest-pep8==1.0.6
4+ pytest-flakes==2.0.0
5+ pytest-cov==2.5.1
6+ tox==3.0.0rc4
Original file line number Diff line number Diff line change 77from setuptools .command .test import test as TestCommand
88
99
10- def read_requirements (filename ):
11- """Open a requirements file and return list of its lines."""
12- contents = read_file (filename ).strip ('\n ' )
13- return contents .split ('\n ' ) if contents else []
14-
15-
1610def read_file (filename ):
1711 """Open and a file, read it and return its contents."""
1812 path = os .path .join (os .path .dirname (__file__ ), filename )
@@ -72,8 +66,19 @@ def run_tests(self):
7266 'openapi-spec-validator = openapi_spec_validator.__main__:main'
7367 ]
7468 },
75- install_requires = read_requirements ('requirements.txt' ),
76- tests_require = read_requirements ('requirements_dev.txt' ),
69+ install_requires = [
70+ "jsonschema" ,
71+ "pyaml" ,
72+ "six" ,
73+ ],
74+ tests_require = [
75+ "mock" ,
76+ "pytest" ,
77+ "pytest-pep8" ,
78+ "pytest-flakes" ,
79+ "pytest-cov" ,
80+ "tox" ,
81+ ],
7782 cmdclass = {'test' : PyTest },
7883 classifiers = [
7984 "Development Status :: 4 - Beta" ,
You can’t perform that action at this time.
0 commit comments