fix bug type assert mismatch
add travis support