Tavis is failing tests when a Phoenix project doesn't have any migrations. The folder /priv/repos/migrations is empty and is not pushed to Github so travis can't see it and returns this eror:
** (Mix) Could not find migrations directory "priv/repo/migrations"
One solution is to add the migrations folder to the .gitkeep file. Otherwise I just created an empty migration with just mix ecto.gen.migration start. I think I will use this migration later on.
I'm not sure about adding .gitkeep file in a project just to please Travis. Do people use .gitkeep?
Tavis is failing tests when a Phoenix project doesn't have any migrations. The folder /priv/repos/migrations is empty and is not pushed to Github so travis can't see it and returns this eror:
One solution is to add the migrations folder to the .gitkeep file. Otherwise I just created an empty migration with just
mix ecto.gen.migration start
. I think I will use this migration later on.I'm not sure about adding .gitkeep file in a project just to please Travis. Do people use .gitkeep?