Remove NOKOGIRI_USE_SYSTEM_LIBRARIES from Travis CI docs (#8409)
Merge pull request 8409
This commit is contained in:
parent
6326b1f9d4
commit
3f4a0da4d5
|
@ -105,10 +105,6 @@ branches:
|
||||||
- gh-pages # test the gh-pages branch
|
- gh-pages # test the gh-pages branch
|
||||||
- /pages-(.*)/ # test every branch which starts with "pages-"
|
- /pages-(.*)/ # test every branch which starts with "pages-"
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
|
@ -187,18 +183,6 @@ prefixed, exemplified above with the `/pages-(.*)/` regular expression.
|
||||||
The `branches` directive is completely optional. Travis will build from every
|
The `branches` directive is completely optional. Travis will build from every
|
||||||
push to any branch of your repo if leave it out.
|
push to any branch of your repo if leave it out.
|
||||||
|
|
||||||
```yaml
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
|
|
||||||
```
|
|
||||||
|
|
||||||
Using `html-proofer`? You'll want this environment variable. Nokogiri, used
|
|
||||||
to parse HTML files in your compiled site, comes bundled with libraries
|
|
||||||
which it must compile each time it is installed. Luckily, you can
|
|
||||||
dramatically decrease the install time of Nokogiri by setting the
|
|
||||||
environment variable `NOKOGIRI_USE_SYSTEM_LIBRARIES` to `true`.
|
|
||||||
|
|
||||||
<div class="note warning">
|
<div class="note warning">
|
||||||
<h5>Be sure to exclude <code>vendor</code> from your
|
<h5>Be sure to exclude <code>vendor</code> from your
|
||||||
<code>_config.yml</code></h5>
|
<code>_config.yml</code></h5>
|
||||||
|
|
Loading…
Reference in New Issue