I am trying to use the coverage tool to measure the code coverage of my Django app, when I test it locally it works fine, but when i pushed to github, i got some errors in travis, here is my docker-compose file:
Your permission issue is most likely due to the fact you have a volume seemingly entitled (./backend:/backend) and that you are using a user in your Docker container which does not have the proper permissions to write on this volume via (USER user).
Since you probably can’t change the permissions on the Travis directory ./backend, you could try to change the user which is used to write files to that location, this would be the fastest solution. This is easy to do, especially with docker-compose: