Skip to content

Commit

Permalink
Run Prophet's rake against Ruby 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
thardeck committed Jun 25, 2019
1 parent 79a35ff commit 0a313ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prophet/prophet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
config.execution do
log.info 'Running tests ...'

system("cd ..; (bundle.ruby2.4 check || bundle.ruby2.4 install) && bundle.ruby2.4 exec rake spec:unit")
system("cd ..; (bundle.ruby2.4 check || bundle.ruby2.4 install) && bundle.ruby2.4 exec rake.ruby2.4 spec:unit")
config.success = ($? == 0)

log.info "Tests are #{config.success ? 'passing' : 'failing'}."
Expand Down
4 changes: 2 additions & 2 deletions prophet/prophet_integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
log.info "Running tests ..."

system(
"cd ..; (bundle.ruby2.4 check || bundle.ruby2.4 bundle install) && bundle.ruby2.4 exec rake rpm:build &&" \
"SPEC_OPTS='--tag ~matrix:pending' bundle.ruby2.4 exec rake spec:integration:acceptance"
"cd ..; (bundle.ruby2.4 check || bundle.ruby2.4 bundle install) && bundle.ruby2.4 exec rake.ruby2.4 rpm:build &&" \
"SPEC_OPTS='--tag ~matrix:pending' bundle.ruby2.4 exec rake.ruby2.4 spec:integration:acceptance"
)
config.success = ($? == 0)

Expand Down

0 comments on commit 0a313ce

Please sign in to comment.