Update .travis.yml for cmake

First PR: #510