imagemin / meta

General discussion repo for imagemin related projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test on AppVeyor

shinnn opened this issue · comments

http://www.appveyor.com/

We should check if imagemin and its plugins work well on Windows, like Grunt projects.

First I introduced AppVeyor to imagemin-jpeg-recompress.
It works correctly.

https://github.com/imagemin/imagemin-jpeg-recompress#imagemin-jpeg-recompress--

We should switch that Travis badge to be flat so they look nicer together.

Like this?

 Build status

shields have a badge for Appveyor too.

@shinnn, can we remove AppVeyor from the repos? It's slow, mostly fails and doesn't show any good output. We can use it on the main imagemin repo (and maybe the plugins) when/if we can use a newer npm version.

@kevva

We can fix a lot more error on Windows with more cross-platform code, like this commit. I still want to continue testing on AppVeyor.

However, as you know, it's very hard to rebuild binaries on AppVeyor. They fails without any outputs and we can't find the causes.
So, How about skipping rebuilding tests on AppVeyor by using is-appveyor?

I'm fine with us continuing using AppVeyor as long as I don't have to care about it.

I don't care if it fails and shows good error output. But currently it just shows that it failed but not why. AppVeyor is so bad imo. The commit you're referring to is a conscious decision by me (to use &&). If we are writing stupid workarounds for Windows we're doing it wrong. I rather let the tests fail on Windows.

I agree with you that we shouldn't write stupid workarounds.

OK, now I'd like to propose:

What do you think?

Create and remove directories programmatically after ava supports before and after. (imagemin/jpeg-recompress-bin@481046c#commitcomment-8256698) Do you have any plans for them, @sindresorhus?

Yes, it's top pri for ava, but probably won't happen for a while, as I'll be traveling.

@shinnn, yup, sounds good to me. Build scripts won't work on Windows 90% of the time anyway.

@sindresorhus, I could write a fast temporary patch that implements it if you want to.