ruby-changes:53123
From: k0kubun <ko1@a...>
Date: Wed, 24 Oct 2018 00:54:14 +0900 (JST)
Subject: [ruby-changes:53123] k0kubun:r65337 (trunk): wercker.yml: stop using my personal Docker container
k0kubun 2018-10-24 00:54:11 +0900 (Wed, 24 Oct 2018) New Revision: 65337 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65337 Log: wercker.yml: stop using my personal Docker container Modified files: trunk/wercker.yml Index: wercker.yml =================================================================== --- wercker.yml (revision 65336) +++ wercker.yml (revision 65337) @@ -2,35 +2,37 @@ https://github.com/ruby/ruby/blob/trunk/wercker.yml#L2 # 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 +box: ruby:2.5-stretch no-response-timeout: 30 command-timeout: 60 build: steps: + - install-packages: + packages: bison sudo - 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: change owner to test user # using "test" user because some test-all tests fail with root user. - code: chown -R test:test . + name: create user # some file permission tests don't succeed with root. + code: useradd --shell /bin/bash --create-home test && 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' + code: /usr/bin/sudo -H -u test -- 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"' + code: /usr/bin/sudo -H -u test -- 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 --longest 10" RUN_OPTS="--disable-gems --jit-wait --jit-warnings"' + code: /usr/bin/sudo -H -u test -- make test-all TESTOPTS="--color=never --job-status=normal --longest 10" 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"' + code: /usr/bin/sudo -H -u test -- make test-spec RUN_OPTS="--disable-gems --jit-wait --jit-warnings" + after-steps: - wantedly/pretty-slack-notify: webhook_url: $SLACK_WEBHOOK_URL -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/