Skip to content
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

Test on AppVeyor #5

Closed
shinnn opened this issue Sep 5, 2014 · 16 comments
Closed

Test on AppVeyor #5

shinnn opened this issue Sep 5, 2014 · 16 comments

Comments

@shinnn
Copy link

shinnn commented Sep 5, 2014

http://www.appveyor.com/

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

@sindresorhus
Copy link
Contributor

@shinnn
Copy link
Author

shinnn commented Sep 5, 2014

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

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

@kevva
Copy link
Contributor

kevva commented Sep 5, 2014

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

@shinnn
Copy link
Author

shinnn commented Sep 5, 2014

Like this?

 Build status

@sindresorhus
Copy link
Contributor

Yup

shinnn added a commit to imagemin/imagemin-jpeg-recompress that referenced this issue Sep 5, 2014
@kevva
Copy link
Contributor

kevva commented Sep 5, 2014

shields have a badge for Appveyor too.

@shinnn
Copy link
Author

shinnn commented Sep 6, 2014

I'd rather use original AppVeyor badge.
It's difficult to see which badge represents the result of AppVeyor.

@kevva
Copy link
Contributor

kevva commented Sep 6, 2014

True.

shinnn added a commit to imagemin/zopflipng-bin that referenced this issue Sep 6, 2014
@kevva
Copy link
Contributor

kevva commented Oct 21, 2014

@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.

@shinnn
Copy link
Author

shinnn commented Oct 22, 2014

@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?

@shinnn
Copy link
Author

shinnn commented Oct 22, 2014

@sindresorhus
Copy link
Contributor

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

@kevva
Copy link
Contributor

kevva commented Oct 22, 2014

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.

@shinnn
Copy link
Author

shinnn commented Oct 22, 2014

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

OK, now I'd like to propose:

What do you think?

@sindresorhus
Copy link
Contributor

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.

@kevva
Copy link
Contributor

kevva commented Oct 23, 2014

@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.

@kevva kevva closed this as completed Nov 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants