No Rakefile found when adding travis to a github project

You apparently have to have a language specified at the top of your .travis.yml file, for example I had to add
language: node_js

See: https://docs.travis-ci.com/user/tutorial/#selecting-a-different-programming-language