Doveps / mono

Code for Doveps projects
http://doveps.com
MIT License
0 stars 0 forks source link

Friday January 5, 2018 Daily Report #79

Closed JosiahRegencia closed 6 years ago

JosiahRegencia commented 6 years ago

01-05-18 - 1:21

Branch used: travis-docker

  1. Used Docker to run python commands:

    Used docker build mono-test and docker run mono-test instead of python command

    Reference: https://runnable.com/docker/python/dockerize-your-python-application

  2. I tried adding a unittest as a service in docker-compose. Ended up with this error: services.unittest.depends_on contains an invalid type, it should be an array

    Reference: http://developerautomation.com/unit-testing-with-a-docker-container/#comments

I'll keep adding reports on what I'll be doing in the comment section

JosiahRegencia commented 6 years ago
  1. Based docker-compose config on https://discuss.circleci.com/t/multi-container-application-stack-testing-with-docker-or-docker-compose-on-circleci/580/3

  2. I was able to run the test cases in docker-compose in this build: https://travis-ci.org/Doveps/mono/builds/325393568 I think I have to have it run last, though.

greenmoss commented 6 years ago

I'm not sure if the output in point 4 is from current code, but that is due to the /code directory not mounting. Check your Docker volumes.