Fix bug in summary method, return correct number of characters
Travis CI config