hansjorg / rust-ci

Django webapp for www.rust-ci.org
Apache License 2.0
17 stars 8 forks source link

Avoid using sudo in Travis-CI runs. #27

Open glennpratt opened 9 years ago

glennpratt commented 9 years ago

Using sudo in Travis-CI runs means a project can't opt-in to using container based workers, which may be faster / more available.

http://docs.travis-ci.com/user/workers/container-based-infrastructure/

https://github.com/hansjorg/rust-ci/blob/3712b9e5c344cf485c3cdb938aecaf45ad50325b/tpt/ppatrigger/templates/ppatrigger/put_artifacts_script.txt#L19

I believe Travis-CI has their own S3 tool already installed, but even if that doesn't work there is probably another tool that could be installed without sudo.