ruby-changes:53470
From: shyouhei <ko1@a...>
Date: Mon, 12 Nov 2018 17:18:38 +0900 (JST)
Subject: [ruby-changes:53470] shyouhei:r65686 (trunk): .travis.yml: resurrect -j on mac
shyouhei 2018-11-12 17:18:35 +0900 (Mon, 12 Nov 2018) New Revision: 65686 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65686 Log: .travis.yml: resurrect -j on mac The "osx build randomly fails with `-j`" happens on make -j test-all. Should be safe to do make -j all. Modified files: trunk/.travis.yml Index: .travis.yml =================================================================== --- .travis.yml (revision 65685) +++ .travis.yml (revision 65686) @@ -250,7 +250,7 @@ addons: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L250 <<: *osx env: - "CONFIG_FLAG='--with-opt-dir=/usr/local/opt/openssl@1...:/usr/local/opt/zlib'" - - "JOBS=" # osx build randomly fails with `-j` + - "JOBS=\"-j`sysctl -n hw.activecpu`\"" # `-v` prints too long outputs, but sometimes it osx build hangs and we can't know which test is bad without `-v`. - "TEST_ALL_TESTOPTS='-v --color=never --job-status=normal --excludes=$(TESTSDIR)/excludes/_travis'" @@ -313,9 +313,9 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L313 script: - "$SETARCH make -s test TESTOPTS=--color=never" - - "export TEST_ALL_TESTOPTS=\"${TEST_ALL_TESTOPTS:- -q --color=never --job-status=normal}\"" - - "$SETARCH make -s $JOBS test-all -o exts TESTOPTS=\"$TEST_ALL_TESTOPTS\"" - - "$SETARCH make -s $JOBS test-spec MSPECOPT=-fs" # not using `-j` because sometimes `mspec -j` silently dies + - "export TEST_ALL_TESTOPTS=\"${TEST_ALL_TESTOPTS:- $JOBS -q --color=never --job-status=normal}\"" + - "$SETARCH make -s test-all -o exts TESTOPTS=\"$TEST_ALL_TESTOPTS\"" + - "$SETARCH make -s test-spec MSPECOPT=-ff" # not using `-j` because sometimes `mspec -j` silently dies # Branch matrix. Not all branches are Travis-ready so we limit branches here. branches: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/