Commit c87b33c4 authored by Łukasz Langa's avatar Łukasz Langa
Browse files

Add mypy to CI

parent 5fb5cc8c
Loading
Loading
Loading
Loading
+5 −2
Changes for .travis.yml: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
sudo: false
language: python
cache: pip
before_script:
- pip install mypy
- pip install -e .
# test script
script:  python setup.py test
script:
- python setup.py test
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then mypy black.py; fi
notifications:
  on_success: change
  on_failure: always