Update test script for Travis

Signed-off-by: Alan <alan@armoin.com>