summaryrefslogtreecommitdiff
path: root/wercker.yml
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-23 13:22:07 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-23 13:22:07 +0000
commit3b196eee5676fb7a7e924005737cccbe2bc75e8b (patch)
treee6bc15ae64f27d80100c6032eeb6052bb1ded797 /wercker.yml
parent456a54de69ee963e0418684f9188ff1aa73ddc94 (diff)
wercker.yml: setup MJIT wait CI
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wercker.yml')
-rw-r--r--wercker.yml38
1 files changed, 18 insertions, 20 deletions
diff --git a/wercker.yml b/wercker.yml
index a499a05d85..d6c90ed1ae 100644
--- a/wercker.yml
+++ b/wercker.yml
@@ -9,29 +9,27 @@ build:
- script:
name: show last commit
code: git log -n1
-
- # Pending for https://app.wercker.com/ruby/ruby/runs/build/5bce69356326620007fbaa5c?step=5bce697cacc4510006d30a47
- # I'll fix and enable this later.
-
- # - script:
- # name: configure
- # code: /usr/bin/sudo -H -u test -- bash -c 'autoconf && ./configure --disable-install-doc --prefix=/tmp/ruby-prefix'
- # - script:
- # name: make all install
- # code: /usr/bin/sudo -H -u test -- bash -c 'make -j$(nproc) all install'
- # - script:
- # name: make test (JIT)
- # code: /usr/bin/sudo -H -u test -- bash -c 'make test RUN_OPTS="--disable-gems --jit-wait --jit-warnings"'
- # - 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'
- # - 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"'
+ - script:
+ name: change owner to test user # using "test" user because some test-all tests fail with root user.
+ code: chown -R test:test .
+ - script:
+ name: configure
+ code: /usr/bin/sudo -H -u test -- bash -c 'autoconf && ./configure --disable-install-doc --prefix=/tmp/ruby-prefix'
+ - script:
+ name: make all install
+ code: /usr/bin/sudo -H -u test -- bash -c 'make -j$(nproc) all install'
+ - script:
+ name: make test (JIT)
+ code: /usr/bin/sudo -H -u test -- bash -c 'make test RUN_OPTS="--disable-gems --jit-wait --jit-warnings"'
+ - 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'
+ - 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"'
after-steps:
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
channel: alerts
- username: mjit-test
notify_on: "failed"
branches: ^trunk$