1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00
execjs/.travis.yml
Jun Aruga a0ce9b605d Update .travis.yml
* Update rubies to latest version.
* Add ruby-head to Travis as allow_failures.
  * It's good to know new version Ruby's issue as faster before the release.
  * fast_finish is to get the Travis result as faster
    without waiting the result of the "allow_failures" items.
    See https://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
2017-04-24 16:19:32 +02:00

101 lines
2.4 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.10
env: EXECJS_RUNTIME=Node
- rvm: 2.1.10
env: EXECJS_RUNTIME=Duktape
- rvm: 2.1.10
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.1.10
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
sudo: true
- rvm: 2.2.7
env: EXECJS_RUNTIME=Node
- rvm: 2.2.7
env: EXECJS_RUNTIME=Duktape
- rvm: 2.2.7
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.2.7
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
sudo: true
- rvm: 2.3.4
env: EXECJS_RUNTIME=Node
- rvm: 2.3.4
env: EXECJS_RUNTIME=Duktape
- rvm: 2.3.4
env: EXECJS_RUNTIME=RubyRacer
- rvm: 2.3.4
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
env: EXECJS_RUNTIME=MiniRacer
dist: trusty
sudo: true
- 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
- 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
allow_failures:
- rvm: ruby-head
fast_finish: true