Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Need to support running in root privilege on Linux Travis CI similar as in AppVeyor #5645

Copy link
Copy link
@daxian-dbw

Description

@daxian-dbw
Issue body actions

We need to support running tests in root privilege on Linux Travis CI in a similar way as our windows tests running in AppVeyor. For windows tests, we have a tag RequireAdminOnWindows to indicate the tests that need admin privilege. We run those tests in an admin pwsh session, and then we use runas to remove admin privilege and run the rest tests.

With sudo: required in .travis.yml, Travis CI Linux builds run in regular user privilege by default, but you can get the root privilege using sudo with no need to provide a password (see the documentation). So we should be able to support a similar tag like RequireAdminOnWindows on Linux.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.