Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failed CI #56

Merged
merged 4 commits into from
Dec 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
sudo: false
language: ruby
rvm:
- 2.1
- 2.2
- 2.3
- 2.4.1
- 2.5.0
- ruby-head
- 2.2
- 2.3
- 2.4
- 2.5
- ruby-head
bundler_args: "--jobs=2"
cache: bundler
before_install:
- gem update --system --no-document
- gem install bundler -v 1.16.1 --no-document
- gem update --system --no-document
- gem install bundler --no-document
script:
- bundle exec rake spec
- bundle exec rubocop
- bundle exec rake spec
- bundle exec rubocop
branches:
only:
- master
- master
matrix:
allow_failures:
- rvm: ruby-head
- rvm: ruby-head
env:
global:
secure: Ntdheemdu1GavPR/3kPfQg1tR13FTP0jE9KxsSKcG32VbIzM69l22OXXwYttFexMhA1dMNytv5bKGIszeiO+YjwzDXkcDHF7ZULc24epsGCOVfNax4g47Q+Lgt2kpAsx8V/8/SIpK7VeBhc2nPvhAKPjTZ8ddN2gLHk4wifLRFA=
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.2.2")
gem "activesupport", "< 5.0.0", group: :development
end
end

if Gem::Version.create(RUBY_VERSION) < Gem::Version.create("2.5.0")
group :test do
# NOTE: unparser v0.3.0+ requires Ruby 2.5+
gem "unparser", "< 0.3.0"
end
end