Adapt tox file from `compile_and_test_for_board.py`. `tox` is still not working without errors but gives way to start refactoring.