Skip to content
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.

Commit

Permalink
Limit test-unit version to ~> 3.1.0 on ruby 1.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
thorin committed Oct 3, 2016
1 parent 7202e2c commit f831737
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/Gemfile.travis
Expand Up @@ -5,5 +5,6 @@ group :test do
if RUBY_VERSION < "1.9"
gem 'i18n', '~> 0.6.11'
gem 'rack-cache', '= 1.2'
gem 'test-unit', '~> 3.0.0'
end
end
3 changes: 3 additions & 0 deletions script/ci.sh
Expand Up @@ -73,6 +73,9 @@ install_plugin_gemfile()

mkdir $REDMINE_DIR/$PATH_TO_PLUGINS/redmine_ldap_sync
ln -s "$PATH_TO_LDAPSYNC/config/Gemfile.travis" "$REDMINE_DIR/$PATH_TO_PLUGINS/redmine_ldap_sync/Gemfile"
if [ "$RUBY_VERSION" == "1.8.7" ]; then
sed -i.bak '/test-unit/d' "$REDMINE_DIR/Gemfile"
fi
}

prepare_redmine()
Expand Down

0 comments on commit f831737

Please sign in to comment.