--- sudo: false language: ruby cache: bundler: true yarn: true matrix: allow_failures: - env: RAILS_VERSION=pre include: - rvm: 2.3 env: RAILS_VERSION=4.2 PACKAGE_MANAGER=npm - rvm: 2.3 env: RAILS_VERSION=5.2 PACKAGE_MANAGER=yarn - rvm: 2.4 env: RAILS_VERSION=5.2 PACKAGE_MANAGER=npm - rvm: 2.5 env: RAILS_VERSION=5.2 PACKAGE_MANAGER=yarn - rvm: 2.6 env: RAILS_VERSION=5.2 PACKAGE_MANAGER=npm - rvm: 2.5 env: RAILS_VERSION=pre PACKAGE_MANAGER=npm - rvm: 2.6 env: RAILS_VERSION=pre PACKAGE_MANAGER=yarn gemfile: - test/Gemfile-rails.$RAILS_VERSION before_install: - gem update --system install: - nvm install --lts - node -v - gem install rspec script: - sh -c 'cd test && ./install.rb' - sh -c 'cd test && rspec ./vcr_specs.rb' jobs: include: - stage: gem release rvm: 2.3 env: RAILS_VERSION=4.2 PACKAGE_MANAGER=yarn script: echo "Deploying to rubygems.org ..." deploy: provider: rubygems gem: vue_cli-rails api_key: $RUBYGEMS_API_KEY on: release