forked from SAML-Toolkits/python-saml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
18 lines (15 loc) · 672 Bytes
/
.travis.yml
File metadata and controls
18 lines (15 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: python
python:
- '2.7'
install:
- sudo apt-get update -qq
- sudo apt-get install -qq swig python-dev libxml2-dev libxmlsec1-dev
- 'travis_retry pip install .'
- 'travis_retry pip install -e ".[test]"'
script:
- 'coverage run --source=src/onelogin/saml2 --rcfile=tests/coverage.rc setup.py test'
- 'coverage report -m --rcfile=tests/coverage.rc'
# - 'pylint src/onelogin/saml2 --rcfile=tests/pylint.rc'
- 'pep8 tests/src/OneLogin/saml2_tests/*.py demo-flask/*.py demo-django/*.py src/onelogin/saml2/*.py --config=tests/pep8.rc'
- 'pyflakes src/onelogin/saml2 demo-django demo-flask tests/src/OneLogin/saml2_tests'
after_success: 'coveralls'