validator/grunt-html

Doesn't work on Travis anymore

jzaefferer opened this issue · 5 comments

Travis currently has Java 7 as default, since the v6 release we required Java 8, since that is now the minimum supported by vnuvalidator. For Travis Java projects its possible to specify the JDK version: https://github.com/jzaefferer/grunt-html/blob/545caebe6858d8a624fd6a8320cba5424893b0db/.travis.yml#L10-L11

But this doesn't work for node (see jquery/jquery-ui#1674 ), and I don't think its acceptable to ask everyone to change their node projects to java and specify the node dependency manually.

Would be nice if Travis would just update the default JDK to 8. Not sure what else to do. Any ideas, @XhmikosR, @jawshooah, @LaurentGoderre?

I haven't got the time to work around this myself, but it's an upstream issue nevertheless.

Having said that, see twbs/bootstrap#19029.

Another solution I want to try is travis-ci/travis-ci#4090 (comment)

Thanks @XhmikosR for the pointers!

Seems like this could work:

sudo: required
dist: trusty

That's supposed to have a JDK 1.8.0_60, so it should fix this issue. Will try that.

@jzaefferer: the Trusty image seems to work fine. I switched to that in a few of my projects.

@jzaefferer: shouldn't we close this? I mean, it's not an issue with grunt-html per se.

Example commit for a working setup: jquery/jquery-ui@ff37692

Let's add a note to the readme about this.