aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2015-02-27 15:06:03 -0800
committerGravatar murgatroid99 <mlumish@google.com>2015-02-27 15:06:03 -0800
commit7e14dd817a17547a33c8730382fb3a28e831b008 (patch)
tree78bc9ab04ffc76c957abb53b5cc17093d5a2fb84 /.travis.yml
parent640e93f10be36f9d641918db148b5e57896588cf (diff)
Moved ruby version to environment varible
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 769d552f57..c3b5efb4e4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,8 +3,10 @@ before_install:
- sudo add-apt-repository ppa:yjwong/gflags -y
- sudo apt-get update -qq
- sudo apt-get install -qq libgtest-dev libgflags-dev python-virtualenv
+env:
+ - RUBY_VERSION=2.1
script:
- - rvm use 2.1
+ - rvm use $RUBY_VERSION
- gem install bundler
- ./tools/run_tests/run_tests.py -l c -t -j 16 -c dbg -s 2.0
- ./tools/run_tests/run_tests.py -l c++ -t -j 16 -c dbg -s 2.0