Fix travis commands to make test success