summaryrefslogtreecommitdiffhomepage
path: root/travis_config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'travis_config.rb')
-rw-r--r--travis_config.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/travis_config.rb b/travis_config.rb
index 35a086e1f..a8189dee6 100644
--- a/travis_config.rb
+++ b/travis_config.rb
@@ -19,9 +19,9 @@ MRuby::Build.new('full-debug') do |conf|
# include all core GEMs
conf.gembox 'full-core'
- conf.cc.defines += %w(MRB_ENABLE_DEBUG_HOOK)
- conf.cc.flags += %w(-fsanitize=address,undefined)
+ conf.cc.flags += %w(-Werror=declaration-after-statement -fsanitize=address,undefined)
conf.linker.flags += %W(-fsanitize=address,undefined)
+ conf.cc.defines += %w(MRB_GC_STRESS MRB_METHOD_CACHE MRB_ENABLE_DEBUG_HOOK)
conf.enable_test
end