language: ruby
rvm:
  - 2.1.7
  - 2.3.1

# User container based travis infrastructure which allows caching
# features for open source projects.
sudo: false
cache:
  bundler: true
  directories:
    - node_modules

env:
  - PAGEFLOW_RAILS_VERSION=4.2.6 PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true

services:
  - redis-server

before_install:
  - nvm install stable

before_script:
  - bin/npm install
  - bin/npm run build

  # We need to use "bundle exec" instead of binstubs until
  # https://github.com/rubygems/rubygems/issues/2055 is fixed
  - bundle exec rake pageflow:dummy
  - bin/rake app:assets:precompile

script:
  - bin/rspec
  - bin/teaspoon
  - bin/npm test

after_success:
  - bundle exec publish-pageflow-theme-doc

notifications:
  webhooks: https://coveralls.io/webhook?service_name=travis-ci

language: ruby
rvm:
  - 2.1.7
  - 2.3.1

# User container based travis infrastructure which allows caching
# features for open source projects.
sudo: false
cache:
  bundler: true
  directories:
    - node_modules

env:
  - PAGEFLOW_RAILS_VERSION=4.2.6 PUBLISH_THEME_DOC=true COVERALLS_PARALLEL=true

services:
  - redis-server

before_install:
  - nvm install stable

before_script:
  - bin/npm install
  - bin/npm run build
  - bin/rake pageflow:dummy
  - bin/rake app:assets:precompile

script:
  - bin/rspec
  - bin/teaspoon
  - bin/npm test

after_success:
  - bundle exec publish-pageflow-theme-doc

notifications:
  webhooks: https://coveralls.io/webhook?service_name=travis-ci

Remove RubyGems 2.7.0 dummy app generation fix
Remove RubyGems 2.7.0 dummy app generation fix

The fix introduced in #893 is no longer needed with RubyGems 2.7.3.
