Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Grunt issue #761

Closed
ilanbiala opened this issue Aug 5, 2015 · 8 comments
Closed

Grunt issue #761

ilanbiala opened this issue Aug 5, 2015 · 8 comments
Assignees
Milestone

Comments

@ilanbiala
Copy link
Member

Grunt's --force option seems to make a lot of our builds that shouldn't pass pass. For example, this build https://travis-ci.org/meanjs/mean/jobs/74211973 should have failed since 1 test failed, but --force made it continue. Is there a reason we are using --force @lirantal @rhutchison? Have either of you noticed this issue in any of your builds?

@lirantal
Copy link
Member

lirantal commented Aug 5, 2015

@ilanbiala glad you're back :)
I'm submitting a PR for that

@ilanbiala
Copy link
Member Author

@lirantal only for a little bit every so often while I'm on vacation so the notifications don't pile up. I ran into it while I'm looking into adding Coveralls to visualize our coverage. @lirantal on that note, did you have coverage set up and did you already start looking into setting up a service such as Coveralls or Codecov?

@lirantal
Copy link
Member

lirantal commented Aug 5, 2015

Yes I already have a pending PR for the coverage, which I was working on for a while and I actually refactored the app.js / server.js especially to make that work :)

I didn't address the coveralls though and some other items so if you want I can submit my PR and you can add your coveralls and other changes to it.

@ilanbiala
Copy link
Member Author

@lirantal yeah if you submit your PR, I'll work on adding Coveralls to it, which I started doing in #760 just to make it available to anyone who may have had something.

@lirantal
Copy link
Member

lirantal commented Aug 5, 2015

Cool.

with regards to the job you were referring to (https://travis-ci.org/meanjs/mean/jobs/74211973) and about grunt error handling - so in that case jshint doesn't fail (although if it does it doesn't fail grunt at all), and I do see an error there too which doesn't fail the grunt either.

My PR is a change to grunt's 'force' option to default it to false so it fails on any other task that fails, this way we can be sure that we are catching any kind of issue, whether these are tests, or jshint conventions. Is that what you were referring to?

@ilanbiala
Copy link
Member Author

Yes.

@lirantal lirantal added this to the 0.4.x milestone Aug 5, 2015
@lirantal lirantal self-assigned this Aug 5, 2015
@codydaig
Copy link
Member

codydaig commented Aug 7, 2015

@lirantal Fixed in #762?

@lirantal
Copy link
Member

lirantal commented Aug 7, 2015

Yes, thanks @codydaig

@lirantal lirantal closed this as completed Aug 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants