From 37a9e24e33e5bf60912c1e024361594772eac06e Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sun, 22 Mar 2015 10:22:10 -0700 Subject: [PATCH 1/4] 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 From 1aa9be58d51cc09ccb9e1fba241786ec33b50c31 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Mon, 23 Mar 2015 10:29:19 -0700 Subject: [PATCH 2/4] Test node on osx --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3763188..ab482e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,3 +25,7 @@ matrix: env: EXECJS_RUNTIME=Node - rvm: jruby-19mode env: EXECJS_RUNTIME=RubyRhino + + - os: osx + rvm: 2.2 + env: EXECJS_RUNTIME=Node From e8f304751083893546fd7651c92c7d77c0c2ba2d Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Mon, 23 Mar 2015 10:33:30 -0700 Subject: [PATCH 3/4] Use stock ruby --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ab482e0..67444e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,5 +27,4 @@ matrix: env: EXECJS_RUNTIME=RubyRhino - os: osx - rvm: 2.2 env: EXECJS_RUNTIME=Node From 5126f831a70b90a836aee5b4d49608dc83ae8a65 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Mon, 23 Mar 2015 10:47:09 -0700 Subject: [PATCH 4/4] Test others on osx --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 67444e7..7fa80ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,5 +26,9 @@ matrix: - rvm: jruby-19mode env: EXECJS_RUNTIME=RubyRhino + - os: osx + env: EXECJS_RUNTIME=JavaScriptCore - os: osx env: EXECJS_RUNTIME=Node + - os: osx + env: EXECJS_RUNTIME=RubyRacer