Skip to content

Commit

Permalink
CI: Avoid Java warnings output
Browse files Browse the repository at this point in the history
  - this breaks JRuby tests
  • Loading branch information
olleolleolle committed May 13, 2020
1 parent fae7126 commit 5d92785
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ dist: trusty

script: "bundle exec rake $TASK"

# "Warning: the --client flag is deprecated and has no effect most JVMs
before_install:
- unset _JAVA_OPTIONS

after_success:
- bundle exec codeclimate-test-reporter

env:
global:
- secure: "a7sD9iwPJJn3Fj+mn62GAmy/PEguh3elrilsp1KS+WfDiCiIKD8Q5KG2Jv67DGcQAGI3dPWeh7+ZhZ/W7nEipwWUBmSvGYVeoF63y8j6mNRLeekqspj94l47hXyFePj9bCadY1b1/xY4lE1pMEU8eA8AOUHUqCSuH+Kk/MuvyLM="
- JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xms60M -Xmx720M -XX:InitialCodeCacheSize=40M -XX:ReservedCodeCacheSize=120M"
matrix:
- "TASK=test:core_and_plugins"
- "TASK=test:rails RAILS=6.0.3"
Expand All @@ -34,5 +39,7 @@ matrix:
exclude:
- rvm: 2.4.5
env: "TASK=test:rails RAILS=6.0.3"
- rvm: jruby-9.1.17.0
env: "TASK=test:rails RAILS=6.0.3"
- rvm: jruby-9.2.11.1
env: "TASK=test:rails RAILS=6.0.3"

0 comments on commit 5d92785

Please sign in to comment.