fix travis && test script