language: ruby

rvm:
  - 2.4
  - 2.5
  - &latest_ruby 2.6
  - 2.7
  - ruby-head
  - jruby-head
  - truffleruby


matrix:
  include:
    - rvm: *latest_ruby
      script: bundle exec rake memory_profile:run
      name: Profiling Memory Usage
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: truffleruby

cache: bundler

script: bundle exec rake

notifications:
  disable: true

language: ruby
cache: bundler

rvm:
  - 2.4
  - 2.5
  - &latest_ruby 2.6
  - 2.7
  - ruby-head
  - jruby-head
  - truffleruby

matrix:
  include:
    - rvm: *latest_ruby
      script: bundle exec rake memory_profile:run
      name: Profiling Memory Usage
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: truffleruby

branches:
  only:
    - master
    - gh-pages
    - /.*-stable/

notifications:
  disable: true

Build only pushes to certain branches on Travis CI
Build only pushes to certain branches on Travis CI
