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-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
|
|
|
|
|
|
|
- rvm: 2.1
|
|
|
|
env: EXECJS_RUNTIME=Node
|
2015-03-23 14:14:29 -04:00
|
|
|
- rvm: 2.1
|
|
|
|
env: EXECJS_RUNTIME=Duktape
|
2015-03-22 13:22:10 -04:00
|
|
|
- rvm: 2.1
|
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
2016-05-11 21:55:48 -04:00
|
|
|
- rvm: 2.1
|
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
2015-03-22 13:22:10 -04:00
|
|
|
|
|
|
|
- rvm: 2.2
|
|
|
|
env: EXECJS_RUNTIME=Node
|
2015-03-23 14:14:29 -04:00
|
|
|
- rvm: 2.2
|
|
|
|
env: EXECJS_RUNTIME=Duktape
|
2015-03-22 13:22:10 -04:00
|
|
|
- rvm: 2.2
|
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
2016-05-11 21:55:48 -04:00
|
|
|
- rvm: 2.2
|
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
2015-03-22 13:22:10 -04:00
|
|
|
|
2016-05-11 21:55:48 -04:00
|
|
|
- rvm: 2.3.1
|
2015-12-25 15:31:17 -05:00
|
|
|
env: EXECJS_RUNTIME=Node
|
2016-05-11 21:55:48 -04:00
|
|
|
- rvm: 2.3.1
|
2015-12-25 15:31:17 -05:00
|
|
|
env: EXECJS_RUNTIME=Duktape
|
2016-05-11 21:55:48 -04:00
|
|
|
- rvm: 2.3.1
|
2015-12-25 15:31:17 -05:00
|
|
|
env: EXECJS_RUNTIME=RubyRacer
|
2016-05-11 21:55:48 -04:00
|
|
|
- rvm: 2.3.1
|
|
|
|
env: EXECJS_RUNTIME=MiniRacer
|
|
|
|
dist: trusty
|
|
|
|
sudo: true
|
2015-12-25 15:31:17 -05:00
|
|
|
|
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
|