diff --git a/.travis.yml b/.travis.yml index 769d552f57ee286b5289a56ce59d5ca444b42987..c3b5efb4e4a5673fb878a1b8a6d8e7af585a02da 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