Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18c5a7d

Browse files
committed
sync: add an option to test trunk
1 parent 0974645 commit 18c5a7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tool/sync/sync-rubyspec.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
MSPEC = ARGV.delete('--mspec')
2020

2121
CHECK_LAST_MERGE = ENV['CHECK_LAST_MERGE'] != 'false'
22+
TEST_TRUNK = ENV['TEST_TRUNK'] != 'false'
2223

2324
MSPEC_REPO = File.expand_path("../../..", __FILE__)
2425
raise MSPEC_REPO if !Dir.exist?(MSPEC_REPO) or !Dir.exist?("#{MSPEC_REPO}/.git")
@@ -179,7 +180,7 @@ def test_new_specs
179180

180181
run_test[min_version]
181182
run_test[max_version]
182-
run_test["trunk"]
183+
run_test["trunk"] if TEST_TRUNK
183184
end
184185
end
185186

0 commit comments

Comments
 (0)