modified trav.rb, cli.rb.