.travis.yml in image_optim_rails-0.2.0 vs .travis.yml in image_optim_rails-0.3.0

- old
+ new

@@ -1,43 +1,38 @@ sudo: false language: ruby cache: bundler: true directories: - - $(npm root) - - ~/bin -script: | - ( - set -ex - if [ -n "$RUBOCOP" ]; then - bundle exec rubocop - else - bundle exec image_optim --info - bundle exec rspec - fi - ) -before_install: | - ( - set -ex - if [ -z "$RUBOCOP" ]; then - command -v svgo || npm install svgo - command -v pngout || { - mkdir -p ~/bin - curl -L "http://static.jonof.id.au/dl/kenutils/pngout-20130221-linux.tar.gz" | tar -xz -C ~/bin --strip-components 2 --wildcards '*/x86_64/pngout' - } - fi - ) + - $(npm root) + - ~/bin +script: + - bundle exec image_optim --info + - bundle exec rspec +before_install: + - mkdir -p ~/bin + - command -v svgo || npm install svgo + - command -v pngout || curl -L "http://static.jonof.id.au/dl/kenutils/pngout-20130221-linux.tar.gz" | tar -xz -C ~/bin --strip-components 2 --wildcards '*/x86_64/pngout' matrix: - fast_finish: true include: - env: RAILS_VERSION='~> 3.2' - rvm: default + rvm: '1.9.3-p551' - env: RAILS_VERSION='~> 4.0' SPROCKETS_RAILS_VERSION='~> 2.0' - rvm: '2' - - env: RAILS_VERSION='~> 4.0' - rvm: '2' + rvm: '2.0.0-p648' + - env: RAILS_VERSION='~> 4.0' SPROCKETS_VERSION='~> 3.0' + rvm: '2.0.0-p648' + - env: RAILS_VERSION='~> 4.0' SPROCKETS_VERSION='>= 4.0.beta' + rvm: '2.0.0-p648' - env: RAILS_VERSION='~> 5.0' SPROCKETS_RAILS_VERSION='~> 2.0' - rvm: '2.2.2' - - env: RAILS_VERSION='~> 5.0' - rvm: '2.2.2' - - env: RUBOCOP=true - rvm: '2.2.2' + rvm: '2.2.6' + - env: RAILS_VERSION='~> 5.0' SPROCKETS_VERSION='~> 3.0' + rvm: '2.2.6' + - env: RAILS_VERSION='~> 5.0' SPROCKETS_VERSION='>= 4.0.beta' + rvm: '2.2.6' + - env: RUBOCOP=✓ + rvm: '2.4.0' + script: bundle exec rubocop + before_install: + - env: CHECK_RUBIES=✓ + rvm: '2.4.0' + script: bundle exec travis_check_rubies + before_install: