Fix "The scope of the variable 'c' can be reduced"
Added .travis.yml