Skip to content

Conversation

begedin
Copy link
Contributor

@begedin begedin commented Feb 1, 2017

What's in this PR?

Work in progress, still trying to get it work on CI. I will also have to actually fix reported issues once it does work.

Update: Got the build to fail if there are dialyzer warnings. It also made the build quite long, so need to figure out how to add caching or something.

@begedin begedin force-pushed the add-dialyzer branch 2 times, most recently from 31a169e to c9c03bd Compare February 1, 2017 17:07
@joshsmith
Copy link
Contributor

In the circle_pre_build you may need to mix dialyzer.plt, not positive.

@joshsmith
Copy link
Contributor

The exit code 2 means:

No problems were found during the analysis, but warnings were emitted.

@begedin
Copy link
Contributor Author

begedin commented Feb 1, 2017

I'm OK with the build failing on exit code 2, though, since it does mean that our specs aren't really correct.

@joshsmith
Copy link
Contributor

joshsmith commented Feb 1, 2017

I might suggest running the dialyxir test on a separate line. Should make Circle reporting more transparent.

@begedin begedin force-pushed the add-dialyzer branch 3 times, most recently from ab374b2 to 2db117c Compare February 2, 2017 02:13
@begedin begedin changed the title Initial attempt to add dialyzer locally and to CI Added dialyzer locally (not on CI) Feb 2, 2017
{:error, :project_not_found} |
{:error, :project_not_ready} |
{:error, :user_not_found} |
{:error, :user_not_ready}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe remove the doc for the return values since @spec does that?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought I did, definitely did in the other place I added it. Done now.

@joshsmith joshsmith merged commit a502f4d into develop Feb 3, 2017
@joshsmith joshsmith deleted the add-dialyzer branch February 3, 2017 01:17
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

Successfully merging this pull request may close these issues.

2 participants