This upgrades your Elixir version on CI to the latest.
Uses the slim variant image, which should be a little smaller of a download.
Uses msodbcsql17 in the docker image.
Prevents compiler warnings on CI.
Create a volume in the docker-compose file so that files get synced into the container for development. This way, if you change a file, you can just rerun docker-compose run mssqlex.
Moved wait-for-it.sh to the entrypoint in the docker-compose, so we always wait for mssql.
Set the default docker-compose command to mix test, because coveralls.travis only works on CI.
I would also recommend using running mix format against this project and add this step to your travis config: docker-compose run mssqlex mix format --check-formatted
Coverage remained the same at 86.822% when pulling 5a85d4be2f836e23a5dbf550b9517a4e2c0bb317 on rzane:fix-ci into f23bd7d5ac07ce220cab9a92517596b4de493188 on findmypast-oss:master.
This builds on your work in #19.
slim
variant image, which should be a little smaller of a download.docker-compose run mssqlex
.wait-for-it.sh
to the entrypoint in the docker-compose, so we always wait for mssql.docker-compose
command tomix test
, becausecoveralls.travis
only works on CI.I would also recommend using running
mix format
against this project and add this step to your travis config:docker-compose run mssqlex mix format --check-formatted