From c5832376dd99d1deddb5be706c9c20935ca9b7ac Mon Sep 17 00:00:00 2001 From: Robert Mosolgo Date: Thu, 2 Apr 2020 09:50:15 -0400 Subject: [PATCH] Default tests to TESTING_INTERPRETER --- .travis.yml | 3 +-- spec/spec_helper.rb | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9366eede0f..87d8a943f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,6 @@ matrix: - bundle exec rake js:all - env: - DISPLAY=':99.0' - - TESTING_INTERPRETER=yes rvm: 2.6.2 services: - xvfb @@ -41,7 +40,7 @@ matrix: - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v '< 2' - env: - - TESTING_INTERPRETER=yes + - TESTING_LEGACY=yes rvm: 2.4.3 gemfile: gemfiles/rails_5.2.gemfile - rvm: ruby-head diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index ce01d7d3b2..5b88efa22d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,9 +6,8 @@ # Print full backtrace for failiures: ENV["BACKTRACE"] = "1" -# Set this env var to use Interpreter for fixture schemas. -# Eventually, interpreter will be the default. -TESTING_INTERPRETER = ENV["TESTING_INTERPRETER"] +# Set this env var to use legacy runtime for fixture schemas. +TESTING_INTERPRETER = !ENV["TESTING_LEGACY"] require "codeclimate-test-reporter" CodeClimate::TestReporter.start