Skip to content

Commit

Permalink
travis conf !minor
Browse files Browse the repository at this point in the history
  • Loading branch information
artem.vasin committed Nov 21, 2019
1 parent 1b08671 commit 099ad3f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ install:

script:
- coverage run manage.py test --settings tests.settings
# - codecov
- coverall

jobs:
include:
Expand All @@ -39,7 +39,7 @@ jobs:
- DJANGO=Django==2.2
- ALLOW_FAILURE=True
script: flake8
- stage: Coverage
- stage: "Code Climate"
python: 3.7
env: DJANGO=Django==2.2
before_script:
Expand All @@ -48,7 +48,6 @@ jobs:
- ./cc-test-reporter before-build
script:
- coverage run manage.py test --settings tests.settings
- codecov
after_script:
- coverage xml
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
Expand All @@ -57,9 +56,8 @@ jobs:
python: 3.7
env: DJANGO=Django==2.2
script:
- echo '[![Travis](https://img.shields.io/travis/NoNameItem/cool-django-auth-ldap/'${TRAVIS_TAG}'?style=flat-square)](https://travis-ci.org/NoNameItem/cool-django-auth-ldap/builds/'${TRAVIS_BUILD_ID}') [![Read the Docs](https://img.shields.io/readthedocs/cool-django-auth-ldap/'${TRAVIS_TAG}'?style=flat-square)](https://cool-django-auth-ldap.readthedocs.io/en/'${TRAVIS_TAG}'/) [![Codecov](https://img.shields.io/codecov/c/github/NoNameItem/cool-django-auth-ldap/'${TRAVIS_TAG}'?style=flat-square)](https://codecov.io/gh/NoNameItem/cool-django-auth-ldap/branch/'${TRAVIS_TAG}')' > release_notes
- gitchangelog > CHANGES
- cat CHANGES >> release_notes
- echo '[![Travis](https://img.shields.io/travis/NoNameItem/cool-django-auth-ldap/'${TRAVIS_TAG}'?style=flat-square)](https://travis-ci.org/NoNameItem/cool-django-auth-ldap/builds/'${TRAVIS_BUILD_ID}') [![Read the Docs](https://img.shields.io/readthedocs/cool-django-auth-ldap/'${TRAVIS_TAG}'?style=flat-square)](https://cool-django-auth-ldap.readthedocs.io/en/'${TRAVIS_TAG}'/) [![Coveralls](https://img.shields.io/coveralls/github/NoNameItem/cool-django-auth-ldap/'${TRAVIS_TAG}'?style=flat-square)](https://coveralls.io/github/NoNameItem/cool-django-auth-ldap?branch='${TRAVIS_TAG}')' > release_notes
- gitchangelog >> release_notes
deploy:
- provider: pypi
edge: true
Expand Down Expand Up @@ -106,3 +104,4 @@ notifications:
- nonameitem@me.com
on_success: always
on_failure: always
webhooks: https://coveralls.io/webhook
4 changes: 4 additions & 0 deletions cool_django_auth_ldap/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@
ldap_error = django.dispatch.Signal(providing_args=["context", "user", "exception"]) # pylint: disable=invalid-name






class LDAPBackend:
"""
The main backend class. This implements the auth backend API, although it
Expand Down

0 comments on commit 099ad3f

Please sign in to comment.