-
Notifications
You must be signed in to change notification settings - Fork 58
Travis doesn't support xmllint on new Trusty environment #247
Comments
Seems like then the best permanent fix would be to update the See Lines 402 to 403 in bb1ae0b
|
I started with that in ocean90@e7d3849 until I realized that having |
Yes, that makes sense to me. However, |
Travis can install it for you, by adding this to addons:
apt:
packages:
# Needed for `xmllint`.
- libxml2-utils Then |
Correct, I tried that yesterday and it's working, see https://travis-ci.org/GlotPress/GlotPress-WP/jobs/282788413#L428 and https://travis-ci.org/GlotPress/GlotPress-WP/jobs/282788413#L700. The only disadvantage is that there's no apt caching, see travis-ci/travis-ci#5876. |
I did it like this:
But the |
Travis now defaults to it's new Ubuntu Trusty environment (unless specified not to in the config file). However in this environment,
xmllint
or probably thelibxml2-utils
package is not installed.So when the build tries to check the XML, an error is thrown:
xargs: xmllint: No such file or directory
Switching back to Ubuntu Precise is a short term fix for this. Add the following to
.travis.yml
dist: - precise
The text was updated successfully, but these errors were encountered: