Proof-of-concept for running python unit tests for FreeCAD 0.16 in a Docker container with Travis CI.
- Install Docker
- Clone repository
$ docker build /path/to/repository -t freecadtest-i
docker run --name freecadtest -v $(pwd)/test:/var/app/test -
-detach freecadtest-i
$ docker exec -it freecadtest python -m unittest discover test "*_test.py"
FreeCAD 0.16, Libs: 0.16R6712 (Git)
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK