1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00
execjs/.travis.yml
2016-10-25 22:24:18 -05:00

76 lines
1.8 KiB
YAML

language: ruby
cache: bundler
sudo: false
# we need trust so correct gcc runs for mini_racer, latest v8 requires gcc 4.8+
before_install:
- if [ "$EXECJS_RUNTIME" == "V8" ]; then brew update; fi
- if [ "$EXECJS_RUNTIME" == "V8" ]; then brew install v8; fi
- if [ "$EXECJS_RUNTIME" == "Node" ]; then node --version; fi
- if [ "$EXECJS_RUNTIME" == "MiniRacer" ]; then gem install bundler -v 1.12.0; fi
script: bundle && 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.0.0
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
sudo: true
- rvm: 2.1
env: EXECJS_RUNTIME=Node
- rvm: 2.1
env: EXECJS_RUNTIME=Duktape
- rvm: 2.1
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.1
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
sudo: true
- rvm: 2.2
env: EXECJS_RUNTIME=Node
- rvm: 2.2
env: EXECJS_RUNTIME=Duktape
- rvm: 2.2
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.2
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
sudo: true
- rvm: 2.3.1
env: EXECJS_RUNTIME=Node
- rvm: 2.3.1
env: EXECJS_RUNTIME=Duktape
- rvm: 2.3.1
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.3.1
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
sudo: true
- 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
- os: osx
env: EXECJS_RUNTIME=V8
- os: osx
env: EXECJS_RUNTIME=MiniRacer
osx_image: xcode7.3