Sudo across the whole build

I’m currently moving form Travis CI to CircleCI and I’m facing the following issue:

I used to define sudo: required in .travis.tml file in order to grant the whole test a sudo privilege, but I don’t know how to do this in circle.yml, is this possible to achieve here?

have you solved the issue?

On CircleCI, you would need to prefix commands with sudo in order to use it.

Looks like there’s no solution to this on CircleCI.