Sha256: 36964f2a5c0c342db8a11ec8ea89ada14b52c18696e1a2ef2d90e6d363e4d861

Contents?: true

Size: 551 Bytes

Versions: 4

Compression:

Stored size: 551 Bytes

Contents

language: ruby
bundler_args: --without development
before_install:
  # Extracts the ruby version number
  - RUBY_VERS="$(bc -l<<<$(ruby -v | cut -d' ' -f 2 | cut -d'.' -f 1,2))"
  # Bundler 2.0 requires at least ruby vers 2.3.0
  - LATEST_VERS=2.3
  # Based on a given job's ruby version, install either
  # Bundler 2.x or 1.17
  - if (( $(echo "$RUBY_VERS >= $LATEST_VERS" | bc -l) ));
      then echo $(gem install bundler); 
      else echo $(gem install bundler -v '< 2'); 
    fi
rvm:
  - 2.3.0
  - 2.2.4
  - 2.1.8
  - jruby-9.0.5.0
  - rbx-3.107

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
imgix-3.1.0 .travis.yml
imgix-3.0.0 .travis.yml
imgix-2.1.0 .travis.yml
imgix-2.0.0 .travis.yml