-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download PhantomJS from CDN #2905
Conversation
Addresses less#2898. Instead of attempting a manual download of PhantomJS, use the npm package phantomjs-prebuilt and the environment variable `PHANTOMJS_CDNURL` as suggested in the comment at ariya/phantomjs#13953 (comment).
The good news is that PhantomJS appears to donwload now, eventually. The bad news is that the build still fails due to peer dependency problems involving Grunt:
The error appears in all the build configurations on both Travis and Appveyor. The issue appears to be that the latest published version of My suggestion would be to use an earlier version of Grunt until |
Continuous-integration builds now fail due to peer-dependency issues. It appears that the `grunt-saucelabs` package does not currently work with Grunt 1+. Future versions likely will, but for now, rolling back to Grunt ~0.4.5 may allow the CI builds to progress.
One of the Travis builds had a connection reset when downloading PhantomJS this time. The other three builds, plus all the Appveyor builds, passed. Maybe there is a better mirror... but for now, maybe some builds will succeed? |
Since you seem to know a bit about this, what Node versions should be setup to be tested in the yml file? I think you can set it up to do latest, and I believe the Node versions don't need minor versions (so will test the latest 4.x and 6.x with just "4" and 6" I think?). Do you think you could look into that? |
That is correct. I'll revise .travis.yml and commit shortly. There have been some compatibility issues with Node 6 and certain packages, I know. |
@abrobston Thanks very much. Less could certainly use some help on the releasing / testing / builds side of things. |
Update .travis.yml to test against the latest Node release within versions 4.x and 6.x (as well as 0.10 and 0.12 still). Update appveyor.yml to add Node 6 to the list of environments.
It appears that Node 6 presented no issues. |
Looks good, thanks! |
Addresses #2898. Instead of attempting a manual download of
PhantomJS, use the npm package phantomjs-prebuilt and the
environment variable
PHANTOMJS_CDNURL
as suggested inthe comment at ariya/phantomjs#13953 (comment).