summaryrefslogtreecommitdiff
path: root/wercker.yml
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-23 00:19:53 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-23 00:19:53 +0000
commit369f529acfccd83fae6decf30733103e495ec7bd (patch)
treeab132a8437beba39e46f03e7a409705ce290d152 /wercker.yml
parent5984aa84dbd52de2eb74be52231a380bf6972292 (diff)
wercker.yml: run --jit-wait test on Wercker
New. This was formerly https://github.com/k0kubun/mjit-test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wercker.yml')
-rw-r--r--wercker.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/wercker.yml b/wercker.yml
new file mode 100644
index 0000000000..4cd5cf7b6c
--- /dev/null
+++ b/wercker.yml
@@ -0,0 +1,33 @@
+box: k0kubun/mjit-test # move this to some ruby/xxx repository
+no-response-timeout: 30
+command-timeout: 60
+build:
+ steps:
+ - script:
+ name: workaround ipv6 localhost
+ code: ruby -e "hosts = File.read('/etc/hosts').sub(/^::1\s*localhost.*$/, ''); File.write('/etc/hosts', hosts)"
+ - script:
+ name: show last commit
+ code: git log -n1
+ - 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$