fix travis, linting and documentation