diff --git a/.travis.yml b/.travis.yml index d29fe8395..ccaa31ed9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,8 +21,7 @@ rvm: - ruby-head - jruby - jruby-head - - rbx-2 - - rbx-3 + - truffleruby env: global: @@ -33,10 +32,16 @@ env: - MBCHARS=builtin matrix: + include: + - name: actionmailer + script: spec/travis-actionmailer.sh + rvm: 2.5 + install: skip + env: BUNDLE_GEMFILE=$PWD/rails/Gemfile allow_failures: - rvm: ruby-head - rvm: jruby - rvm: jruby-head - - rvm: rbx-2 - - rvm: rbx-3 + - rvm: truffleruby + - name: actionmailer fast_finish: true diff --git a/spec/travis-actionmailer.sh b/spec/travis-actionmailer.sh new file mode 100755 index 000000000..039c31c1f --- /dev/null +++ b/spec/travis-actionmailer.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +set -v -e + +rm -rf rails +git clone --depth=1 https://github.com/rails/rails.git -b master +cd rails +echo "" >> Gemfile +echo "gem 'mail', path: '../'" >> Gemfile +rm -rf Gemfile.lock +bundle install +cd actionmailer +bundle install +bundle exec rake test \ No newline at end of file