Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ahorek committed Dec 19, 2018
1 parent 1adeca1 commit 979c751
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ rvm:
- ruby-head
- jruby
- jruby-head
- rbx-2
- rbx-3
- truffleruby

env:
global:
Expand All @@ -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
13 changes: 13 additions & 0 deletions spec/travis-actionmailer.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 979c751

Please sign in to comment.