Skip to content

Conversation

@joshuawscott
Copy link
Member

I also trimmed down the number of builds so that we only run a single
build for each version of Elixir.

I found 2 credo issues and fixed them. I would be in favor of running
credo and dialyzer in travis, but would like a second opinion on that.

Also updated some dependencies

I also trimmed down the number of builds so that we only run a single
build for each version of Elixir.

I found 2 credo issues and fixed them. I would be in favor of running
credo and dialyzer in travis, but would like a second opinion on that.

Also updated some dependencies
@sourcelevel-bot
Copy link

Ebert has finished reviewing this Pull Request and has found:

  • 2 fixed issues! 🎉

You can see more details about this review at https://ebertapp.io/github/kafkaex/kafka_ex/pulls/277.

Copy link
Collaborator

@dantswain dantswain left a comment

Choose a reason for hiding this comment

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

I used to try to keep the most common version combos in the build matrix - e.g., people were using 1.5 with R19 and R20. I guess it's probably OK to just test the more recent versions and add others if anyone actually finds an issue.

Personally I prefer var = %Struct{} matching. I know this was throwing credo warnings but I had been sort of slowly trying to switch things when I was in that part of the code. I guess it's better to have a clean build than to have it match my preference 🤷‍♂️

correlation_id,
client_id,
request = %Request{compression: compression, messages: messages}
%Request{compression: compression, messages: messages} = request
Copy link
Collaborator

Choose a reason for hiding this comment

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

I personally prefer the other way - var = %Struct{...}... credo just looks for consistency iirc?

Copy link
Member Author

Choose a reason for hiding this comment

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

It does look for consistency, but I think the elixir standard library always does %Struct{} = var.

Copy link
Member Author

Choose a reason for hiding this comment

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

🤷‍♂️ I don't care either way, but I did switch a bunch to the %Struct{} = var in #232 😱

@joshuawscott joshuawscott merged commit 9acac59 into master Mar 4, 2018
@joshuawscott joshuawscott deleted the elixir_1.6 branch March 4, 2018 15:38
robotarmy pushed a commit to RAM9/kafka_ex that referenced this pull request Apr 7, 2025
Add Elixir 1.6 to travis matrix
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.

3 participants