Update continuous-integration docs with sudo: false information
Updates the continuous-integration docs to provide information about the `sudo: false` behavior which can route builds to the faster container-based infrastructure. https://docs.travis-ci.com/user/workers/container-based-infrastructure/#Routing-your-build-to-container-based-infrastructure
This commit is contained in:
parent
55edf76590
commit
0f50dd1bb7
|
@ -112,6 +112,8 @@ branches:
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
||||||
|
|
||||||
|
sudo: false # route your build to the container-based infrastructure for a faster build
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
Ok, now for an explanation of each line:
|
Ok, now for an explanation of each line:
|
||||||
|
@ -202,6 +204,16 @@ environment variable `NOKOGIRI_USE_SYSTEM_LIBRARIES` to `true`.
|
||||||
exclude: [vendor]
|
exclude: [vendor]
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
By default you should supply the `sudo: false` command to Travis. This command
|
||||||
|
explicitly tells Travis to run your build on Travis's [container-based
|
||||||
|
infrastructure](https://docs.travis-ci.com/user/workers/container-based-infrastructure/#Routing-your-build-to-container-based-infrastructure). Running on the container-based infrastructure can often times
|
||||||
|
speed up your build. If you have any trouble with your build, or if your build
|
||||||
|
does need `sudo` access, modify the line to `sudo: required`.
|
||||||
|
|
||||||
|
{% highlight yaml %}
|
||||||
|
sudo: false
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
### Troubleshooting
|
### Troubleshooting
|
||||||
|
|
||||||
**Travis error:** *"You are trying to install in deployment mode after changing
|
**Travis error:** *"You are trying to install in deployment mode after changing
|
||||||
|
|
Loading…
Reference in New Issue