Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Hongli Lai authored April 01, 2013
4  .travis.yml
@@ -6,8 +6,8 @@ env:
6 6
   - TEST_CXX=1 SUDO=1
7 7
   - TEST_RUBY=1 TEST_RUBY_VERSION=1.8.7 TEST_CLASSIC_RAILS=0
8 8
   - TEST_RUBY=1 TEST_RUBY_VERSION=1.9.3 TEST_CLASSIC_RAILS=0
9  
-  - TEST_NGINX=1
10  
-  - TEST_APACHE2=1
  9
+  - TEST_NGINX=1 TEST_RUBYGEMS_VERSION=1.8.25
  10
+  - TEST_APACHE2=1 TEST_RUBYGEMS_VERSION=1.8.25
11 11
 
12 12
 before_install:
13 13
   - sudo apt-get install apache2-mpm-worker apache2-threaded-dev
9  dev/run_travis.sh
@@ -18,6 +18,15 @@ if [[ "$TEST_RUBY_VERSION" != "" ]]; then
18 18
 	echo "$ rvm use $TEST_RUBY_VERSION"
19 19
 	source ~/.rvm/scripts/rvm
20 20
 	rvm use $TEST_RUBY_VERSION
  21
+	if [[ "$TEST_RUBYGEMS_VERSION" = "" ]]; then
  22
+		echo "$ gem --version"
  23
+		gem --version
  24
+	fi
  25
+fi
  26
+
  27
+if [[ "$TEST_RUBYGEMS_VERSION" != "" ]]; then
  28
+	echo "$ rvm install rubygems $TEST_RUBYGEMS_VERSION"
  29
+	rvm install rubygems $TEST_RUBYGEMS_VERSION
21 30
 	echo "$ gem --version"
22 31
 	gem --version
23 32
 fi

0 notes on commit 73be1ab

Please sign in to comment.
Something went wrong with that request. Please try again.