diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-23 13:34:50 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-23 13:34:50 +0000 |
commit | bc8c89de3d68b19212450a5492395e15d8e3e72f (patch) | |
tree | ace7e0eb5e25da9b83422e3d872cebb42e916091 /wercker.yml | |
parent | 3b196eee5676fb7a7e924005737cccbe2bc75e8b (diff) |
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
Diffstat (limited to 'wercker.yml')
-rw-r--r-- | wercker.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/wercker.yml b/wercker.yml index d6c90ed1ae..564fddf0eb 100644 --- a/wercker.yml +++ b/wercker.yml @@ -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"' |