Fix trailing whitespace errors shown by Travis Ci build