One github repo builds fine on travis, while another with almost exactly the same .travis.yaml file does not build, and gives the error
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
I have seen some discussions about travis yaml files not dealing with tabs correctly, etc. but I have checked there are no tabs, only whitespaces.
I have noticed that the config
line on the travis dashboard has an entry for the repo that builds correctly
while the one that doesn't build is missing that line
However, they have the same yaml file more or less, so I don't understand why it doesn't work the same way.
The yaml for the repo that builds
And the one that doesn't build (some comments are removed, but that doesn't make a difference, I checked):
I think you should rename the file to .travis.yml
.
Sometimes I see it used in a right way but here it is misspelled. That is why it is not executed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With