2013-05-12 00:17:01 -04:00
|
|
|
language: ruby
|
2015-03-22 13:22:10 -04:00
|
|
|
cache: bundler
|
|
|
|
sudo: false
|
2016-05-11 21:55:48 -04:00
|
|
|
# we need trust so correct gcc runs for mini_racer, latest v8 requires gcc 4.8+
|
2015-03-22 13:22:10 -04:00
|
|
|
|
2015-09-08 16:39:06 -04:00
|
|
|
before_install:
|
|
|
|
- if [ "$EXECJS_RUNTIME" == "V8" ]; then brew update; fi
|
|
|
|
- if [ "$EXECJS_RUNTIME" == "V8" ]; then brew install v8; fi
|
2016-10-25 22:10:40 -04:00
|
|
|
- if [ "$EXECJS_RUNTIME" == "Node" ]; then node --version; fi
|
2016-05-11 21:55:48 -04:00
|
|
|
- if [ "$EXECJS_RUNTIME" == "MiniRacer" ]; then gem install bundler -v 1.12.0; fi
|
|
|
|
script: bundle && bundle exec ruby test/test_execjs.rb
|
2015-03-22 13:22:10 -04:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- rvm: 2.0.0
|
|
|
|
env: EXECJS_RUNTIME=Node
|
2015-03-23 14:14:29 -04:00
|
|
|
- rvm: 2.0.0
|
|
|
|
env: EXECJS_RUNTIME=Duktape
|
2015-03-22 13:22:10 -04:00
|
|
|
- rvm: 2.0.0
|
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
2016-05-11 21:55:48 -04:00
|
|
|
- rvm: 2.0.0
|
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
2015-03-22 13:22:10 -04:00
|
|
|
|
2017-03-28 12:32:21 -04:00
|
|
|
- rvm: 2.1.10
|
2015-03-22 13:22:10 -04:00
|
|
|
env: EXECJS_RUNTIME=Node
|
2017-03-28 12:32:21 -04:00
|
|
|
- rvm: 2.1.10
|
2015-03-23 14:14:29 -04:00
|
|
|
env: EXECJS_RUNTIME=Duktape
|
2017-03-28 12:32:21 -04:00
|
|
|
- rvm: 2.1.10
|
2015-03-22 13:22:10 -04:00
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
2017-03-28 12:32:21 -04:00
|
|
|
- rvm: 2.1.10
|
2016-05-11 21:55:48 -04:00
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
2015-03-22 13:22:10 -04:00
|
|
|
|
2017-04-03 13:50:30 -04:00
|
|
|
- rvm: 2.2.7
|
2015-03-22 13:22:10 -04:00
|
|
|
env: EXECJS_RUNTIME=Node
|
2017-04-03 13:50:30 -04:00
|
|
|
- rvm: 2.2.7
|
2015-03-23 14:14:29 -04:00
|
|
|
env: EXECJS_RUNTIME=Duktape
|
2017-04-03 13:50:30 -04:00
|
|
|
- rvm: 2.2.7
|
2015-03-22 13:22:10 -04:00
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
2017-04-03 13:50:30 -04:00
|
|
|
- rvm: 2.2.7
|
2016-05-11 21:55:48 -04:00
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
2015-03-22 13:22:10 -04:00
|
|
|
|
2017-04-03 13:50:30 -04:00
|
|
|
- rvm: 2.3.4
|
2015-12-25 15:31:17 -05:00
|
|
|
env: EXECJS_RUNTIME=Node
|
2017-04-03 13:50:30 -04:00
|
|
|
- rvm: 2.3.4
|
2015-12-25 15:31:17 -05:00
|
|
|
env: EXECJS_RUNTIME=Duktape
|
2017-04-03 13:50:30 -04:00
|
|
|
- rvm: 2.3.4
|
2015-12-25 15:31:17 -05:00
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
2017-04-03 13:50:30 -04:00
|
|
|
- rvm: 2.3.4
|
2017-03-28 12:32:21 -04:00
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
|
|
|
|
|
|
|
- rvm: 2.4.1
|
|
|
|
env: EXECJS_RUNTIME=Node
|
|
|
|
- rvm: 2.4.1
|
|
|
|
env: EXECJS_RUNTIME=Duktape
|
|
|
|
- rvm: 2.4.1
|
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
|
|
|
- rvm: 2.4.1
|
2016-05-11 21:55:48 -04:00
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
2015-12-25 15:31:17 -05:00
|
|
|
|
2017-04-03 13:50:30 -04:00
|
|
|
- rvm: ruby-head
|
|
|
|
env: EXECJS_RUNTIME=Node
|
|
|
|
- rvm: ruby-head
|
|
|
|
env: EXECJS_RUNTIME=Duktape
|
|
|
|
- rvm: ruby-head
|
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
|
|
|
- rvm: ruby-head
|
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
|
|
|
|
2015-03-22 13:22:10 -04:00
|
|
|
- rvm: jruby-19mode
|
|
|
|
env: EXECJS_RUNTIME=Node
|
|
|
|
- rvm: jruby-19mode
|
|
|
|
env: EXECJS_RUNTIME=RubyRhino
|
2015-03-23 13:29:19 -04:00
|
|
|
|
2015-03-23 13:47:09 -04:00
|
|
|
- os: osx
|
|
|
|
env: EXECJS_RUNTIME=JavaScriptCore
|
2015-03-23 13:29:19 -04:00
|
|
|
- os: osx
|
|
|
|
env: EXECJS_RUNTIME=Node
|
2015-03-23 14:14:29 -04:00
|
|
|
- os: osx
|
|
|
|
env: EXECJS_RUNTIME=Duktape
|
2015-03-23 13:47:09 -04:00
|
|
|
- os: osx
|
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
2015-09-08 16:39:06 -04:00
|
|
|
- os: osx
|
|
|
|
env: EXECJS_RUNTIME=V8
|
2016-05-11 21:55:48 -04:00
|
|
|
- os: osx
|
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
osx_image: xcode7.3
|
2017-04-03 13:50:30 -04:00
|
|
|
allow_failures:
|
|
|
|
- rvm: ruby-head
|
|
|
|
fast_finish: true
|