Posted 16 days ago. Visible to the public. Auto-destruct in 49 days

Gemika 0.4.0 released

We added support to read the include option from the travis.yml file. All combinations defined in the include option are added to the existing matrix. If no matrix exist, these are the only ones that are run.

This change should make it simpler to understand, which Ruby versions are actually run for a specific Gemfile.

Example with matrix

Copy
rvm: - 2.1.8 - 2.3.1 gemfile: - gemfiles/Gemfile1 - gemfiles/Gemfile2 matrix: include: - rvm: 2.6.3 gemfile: gemfiles/Gemfile3

This will run all these 5 combinations:

Copy
2.1.8 + gemfiles/Gemfile1 2.1.8 + gemfiles/Gemfile2 2.3.1 + gemfiles/Gemfile1 2.3.1 + gemfiles/Gemfile2 2.6.3 + gemfiles/Gemfile3

Example without matrix

Usually we will start to use the include option without an existing matrix:

Copy
matrix: include: - rvm: 2.1.8 gemfile: gemfiles/Gemfile1 - rvm: 2.3.1 gemfile: gemfiles/Gemfile2 - rvm: 2.6.3 gemfile: gemfiles/Gemfile3

This will run exactly the 3 combinations above:

Copy
2.1.8 + gemfiles/Gemfile1 2.3.1 + gemfiles/Gemfile2 2.6.3 + gemfiles/Gemfile3

Here is another example commit how a change for one of our gems will look like.

Trouble shooting

In case you run into an error like KeyError: key not found: "rvm", please update the gemika version for you current Ruby version manually.

Copy
gem uninstall gemika gem install gemika

makandra has been working exclusively with Ruby on Rails since 2007. Our laser focus on a single technology has made us a leader in this space.

Owner of this card:

Avatar
Emanuel De
Last edit:
11 days ago
by Besprechungs-PC
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Emanuel De to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more