Modify Travis functional test script