diff options
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"' |