From c68dfffc32c7e23ea6bcbdb1e2177bd782199cc6 Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Fri, 20 Sep 2019 12:14:19 +0200 Subject: [PATCH] Freeze all string literals in CI --- .github/workflows/ruby.yml | 1 + .travis.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 8e4945e0..a017c212 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -67,3 +67,4 @@ jobs: env: CI: true TESTOPTS: -v + RUBYOPT: --enable-frozen-string-literal diff --git a/.travis.yml b/.travis.yml index 052074d2..900f3640 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,3 +58,4 @@ matrix: env: global: - TESTOPTS="-v" + - RUBYOPT="--enable-frozen-string-literal"