Skip to content

Commit

Permalink
Use specific version of parallel_tests ruby gem
Browse files Browse the repository at this point in the history
Previously no version of the parallel_tests ruby gem was specified. This
means that when the gem is installed it installs the latest version. In
the latest version of the gem the required version of ruby was up from
2.0.0 to 2.1.0. We have ruby 2.0.0 on our test environment. Thus gem
could not be installed and test fails.

In this commit we specifiy the latest version of the parallel_tests ruby
gem that requires ruby 2.0.0 so that tests will run again. This is
perhaps not a solution for the long run but it will do for now.

Signed-off-by: Daniel Nilsson <daniel.nilsson@op5.com>
  • Loading branch information
kdnilsson committed Oct 24, 2018
1 parent 0aaabf8 commit fe9fe52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions op5build/ci_config.yml
Expand Up @@ -27,9 +27,9 @@ post:
# Install requirements for cucumber test
if [ -f /usr/bin/systemctl ]; then
gem install --no-ri --no-rdoc cucumber:1.3.6 rspec:2.14.1 parallel_tests syntax:1.0.0 sequel mysql2
gem install --no-ri --no-rdoc cucumber:1.3.6 rspec:2.14.1 parallel_tests:2.23.0 syntax:1.0.0 sequel mysql2
else
gem2.0 install --no-ri --no-rdoc cucumber:1.3.6 rspec:2.14.1 parallel_tests syntax:1.0.0 sequel mysql2:0.4.6
gem2.0 install --no-ri --no-rdoc cucumber:1.3.6 rspec:2.14.1 parallel_tests:2.23.0 syntax:1.0.0 sequel mysql2:0.4.6
fi
# Run cucumber tests
Expand Down

0 comments on commit fe9fe52

Please sign in to comment.