wercker.yml: explain the usage of Wercker

at ruby repository. I also added a woraround to loosen timeout for
test-all. I resolved the issue that lets --jit-wait CI timeout, so this
workaround is not strictly needed, but this might make it easier to
debug when things go wrong.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2018-10-23 13:34:50 +00:00
Родитель 3b196eee56
Коммит bc8c89de3d
1 изменённых файлов: 10 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,7 @@
#
# Wercker is dedicated for testing MJIT. Please use Travis or AppVeyor for non-MJIT testing.
# This runs all Ruby tests with --jit-wait, which synchronously JITs all methods.
#
box: k0kubun/mjit-test # move this to some ruby/xxx repository
no-response-timeout: 30
command-timeout: 60
@ -21,9 +25,13 @@ build:
- script:
name: make test (JIT)
code: /usr/bin/sudo -H -u test -- bash -c 'make test RUN_OPTS="--disable-gems --jit-wait --jit-warnings"'
# split test-all to 2 steps to loosen timeout
- script:
name: make test-all (JIT)
code: /usr/bin/sudo -H -u test -- bash -c 'make test-all TESTOPTS="--color=never --job-status=normal" RUN_OPTS="--disable-gems --jit-wait --jit-warnings" RUBY_FORCE_TEST_JIT=1'
name: make test-all1 (JIT) # only: test/ruby/
code: /usr/bin/sudo -H -u test -- bash -c 'make test-all TESTS="test/ruby/" TESTOPTS="--color=never --job-status=normal" RUN_OPTS="--disable-gems --jit-wait --jit-warnings"'
- script:
name: make test-all2 (JIT) # except: test/ruby/
code: /usr/bin/sudo -H -u test -- bash -c 'make test-all TESTOPTS="--exclude test/ruby/ --color=never --job-status=normal" RUN_OPTS="--disable-gems --jit-wait --jit-warnings"'
- script:
name: make test-spec (JIT)
code: /usr/bin/sudo -H -u test -- bash -c 'make test-spec RUN_OPTS="--disable-gems --jit-wait --jit-warnings"'