Fix incompatible function declaration
Added .travis.yml file