sudo: false
cache: bundler
language: ruby
rvm:
  - 2.5.0

env:
  global:
    - GIT_NAME: Travis CI
    - GIT_EMAIL: nobody@nobody.org

install: bundle install --path=vendor/bundle --retry=3 --jobs=3

before_install:
  - gem install bundler
  - nvm install 9

after_success:
  - npm install docpress && $(npm bin)/docpress build
  - if [ -n "$TRAVIS_TAG" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm install git-update-ghpages && $(npm bin)/git-update-ghpages yosiat/panko_serializer _docpress; fi
  - bundle exec rake benchmarks

env:
  matrix:
  - "RAILS_VERSION=4.2"
  - "RAILS_VERSION=5.1"

sudo: false
cache: bundler
language: ruby
rvm:
  - 2.5.0

env:
  global:
    - GIT_NAME: Travis CI
    - GIT_EMAIL: nobody@nobody.org

install: bundle install --path=vendor/bundle --retry=3 --jobs=3

before_install:
  - gem install bundler
  - nvm install 9

after_success:
  - npm install docpress && $(npm bin)/docpress build
  - if [ -n "$TRAVIS_TAG" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm install git-update-ghpages && $(npm bin)/git-update-ghpages yosiat/panko_serializer _docpress; fi
  - bundle exec rake benchmarks

env:
  matrix:
  - "RAILS_VERSION=4.2.0"
  - "RAILS_VERSION=5.1.0"
  - "RAILS_VERSION=5.2.0"

Test Panko with Rails 5.2.0
Test Panko with Rails 5.2.0