From 37a9e24e33e5bf60912c1e024361594772eac06e Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sun, 22 Mar 2015 10:22:10 -0700 Subject: [PATCH] Split out builds into travis matrix --- .travis.yml | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index c3b1e21..3763188 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,27 @@ -sudo: false language: ruby -rvm: - - 2.0.0 - - 2.1 - - 2.2 - - jruby-19mode +cache: bundler +sudo: false + +script: bundle exec ruby test/test_execjs.rb + +matrix: + include: + - rvm: 2.0.0 + env: EXECJS_RUNTIME=Node + - rvm: 2.0.0 + env: EXECJS_RUNTIME=RubyRacer + + - rvm: 2.1 + env: EXECJS_RUNTIME=Node + - rvm: 2.1 + env: EXECJS_RUNTIME=RubyRacer + + - rvm: 2.2 + env: EXECJS_RUNTIME=Node + - rvm: 2.2 + env: EXECJS_RUNTIME=RubyRacer + + - rvm: jruby-19mode + env: EXECJS_RUNTIME=Node + - rvm: jruby-19mode + env: EXECJS_RUNTIME=RubyRhino