enable invoke main c function
add Travis to test C calculation core building