diff --git a/.travis.yml b/.travis.yml index c3b1e21..65df6c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,42 @@ -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=Duktape + - rvm: 2.0.0 + env: EXECJS_RUNTIME=RubyRacer + + - rvm: 2.1 + env: EXECJS_RUNTIME=Node + - rvm: 2.1 + env: EXECJS_RUNTIME=Duktape + - rvm: 2.1 + env: EXECJS_RUNTIME=RubyRacer + + - rvm: 2.2 + env: EXECJS_RUNTIME=Node + - rvm: 2.2 + env: EXECJS_RUNTIME=Duktape + - rvm: 2.2 + env: EXECJS_RUNTIME=RubyRacer + + - rvm: jruby-19mode + env: EXECJS_RUNTIME=Node + - rvm: jruby-19mode + env: EXECJS_RUNTIME=RubyRhino + + - os: osx + env: EXECJS_RUNTIME=JavaScriptCore + - os: osx + env: EXECJS_RUNTIME=Node + - os: osx + env: EXECJS_RUNTIME=Duktape + - os: osx + env: EXECJS_RUNTIME=RubyRacer