Permalink
Browse files

add travis webhook to gitter

  • Loading branch information...
7sDream committed Feb 19, 2017
1 parent 2f6d804 commit abfbca1f3a9fadd96efddffe927167244a5bc214
Showing with 8 additions and 0 deletions.
  1. +8 −0 .travis.yml
View
@@ -30,3 +30,11 @@ script:
- if [[ $num_errors -ne '0' ]]; then exit $num_errors; fi
- python -c "import base64; import sys; import os; v = str(sys.version_info.major); os.chdir('test'); f = open('token.pkl.' + v, 'wb'); f.write(base64.decodestring(os.environ['ZHIHU_OAUTH_TOKEN_' + v].encode('utf-8'))); f.close();"
- python -m unittest discover
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/d57f62abac86fcb76f44
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always

0 comments on commit abfbca1

Please sign in to comment.