Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use RubyGems 1.8 when running integration tests on Travis.

The integration tests still depend on Rails 2.3.
  • Loading branch information...
commit 73be1ab3b639487923866b968311a902b01e1276 1 parent 0899967
@FooBarWidget FooBarWidget authored
Showing with 11 additions and 2 deletions.
  1. +2 −2 .travis.yml
  2. +9 −0 dev/run_travis.sh
View
4 .travis.yml
@@ -6,8 +6,8 @@ env:
- TEST_CXX=1 SUDO=1
- TEST_RUBY=1 TEST_RUBY_VERSION=1.8.7 TEST_CLASSIC_RAILS=0
- TEST_RUBY=1 TEST_RUBY_VERSION=1.9.3 TEST_CLASSIC_RAILS=0
- - TEST_NGINX=1
- - TEST_APACHE2=1
+ - TEST_NGINX=1 TEST_RUBYGEMS_VERSION=1.8.25
+ - TEST_APACHE2=1 TEST_RUBYGEMS_VERSION=1.8.25
before_install:
- sudo apt-get install apache2-mpm-worker apache2-threaded-dev
View
9 dev/run_travis.sh
@@ -18,6 +18,15 @@ if [[ "$TEST_RUBY_VERSION" != "" ]]; then
echo "$ rvm use $TEST_RUBY_VERSION"
source ~/.rvm/scripts/rvm
rvm use $TEST_RUBY_VERSION
+ if [[ "$TEST_RUBYGEMS_VERSION" = "" ]]; then
+ echo "$ gem --version"
+ gem --version
+ fi
+fi
+
+if [[ "$TEST_RUBYGEMS_VERSION" != "" ]]; then
+ echo "$ rvm install rubygems $TEST_RUBYGEMS_VERSION"
+ rvm install rubygems $TEST_RUBYGEMS_VERSION
echo "$ gem --version"
gem --version
fi
Please sign in to comment.
Something went wrong with that request. Please try again.