You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Back to Articles


Changes in App

  • add /.travis.yml

    language: ruby
    sudo: required
    dist: trusty
    
    addons:
    chrome: stable
    cache:
    bundler: true
    
    before_install:
    - gem update bundler
    - gem install bundler
    - google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost &
    
    rvm:
    - 2.5.5
    - 2.6.3
    
    env:
    global:
    - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
    # Travis should check every minor version in a range of supported versions, because
    # rails does not follow sem-ver conventions, see http://guides.rubyonrails.org/maintenance_policy.html
    # It should be sufficient to test only the latest of the patch versions for a minor version, they
    # should be compatible across patch versions (only bug fixes are released in patch versions).
    matrix:
    - "RAILS_VERSION=5.2.4"
    
    services:
    - redis-server
    before_script:
    - jdk_switcher use oraclejdk8
    
    


Changes in Github



Changes in Travis



Testing that it all works




  • No labels