Edit .travis.yml to cope with scrutinizer-ci needs
Fix type hints in docs