Skip to content

Commit

Permalink
Default tests to TESTING_INTERPRETER
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed Apr 2, 2020
1 parent c83f345 commit c583237
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ matrix:
- bundle exec rake js:all
- env:
- DISPLAY=':99.0'
- TESTING_INTERPRETER=yes
rvm: 2.6.2
services:
- xvfb
Expand All @@ -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
Expand Down
5 changes: 2 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c583237

Please sign in to comment.