Skip to content

Commit 9c37d8c

Browse files
committed
Add .travis.yml.
1 parent 8d3cbe8 commit 9c37d8c

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
language: python
2+
python:
3+
- "3.6"
4+
install:
5+
- pip install -e .[test]
6+
- pip install coveralls
7+
script:
8+
- pycodestyle
9+
- pytest --cov
10+
after_success:
11+
- coveralls

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
packages=find_packages(),
2222
include_package_data=True,
2323
install_requires=['python3-saml'],
24-
tests_require=['pytest', 'pytest-cov', 'mock', 'pycodestyle']
25-
)
24+
extras_require={'test': ['pytest', 'pytest-cov', 'mock', 'pycodestyle']}
25+
)

0 commit comments

Comments
 (0)