Add #empty? to Tempfile, StringIO, File::Stat #1759
Travis CI / Travis CI - Pull Request
succeeded
Oct 25, 2023 in 7m 42s
Build Passed
The build passed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #1759 Add #empty? to Tempfile, StringIO, File::Stat.
Any changes that have been made to the master branch before the build ran are also included.
Jobs and Stages
This build has three jobs, running in parallel.
Job | Compiler | ENV | OS | State | Notes |
---|---|---|---|---|---|
60759.1 arm32-linux | arm-linux-gnueabihf-gcc | TEST_ALL_SKIPPED_TESTS= | Linux | passed | This job is allowed to fail. |
60759.2 ppc64le-linux | gcc | TEST_ALL_SKIPPED_TESTS= | Linux | passed | This job is allowed to fail. |
60759.3 s390x-linux | gcc | TEST_ALL_SKIPPED_TESTS= | Linux | passed | This job is allowed to fail. |
Build Configuration
Build Option | Setting |
---|---|
Language | C |
Operating System | Linux (Focal) |
Build Configuration
{
".org.ruby-lang.ci.matrix-definitions": [
{
"compiler": "gcc-10",
"before_install": [
"tool/travis_retry.sh sudo bash -c \"rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq\"",
"tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install ccache gcc-10 g++-10 libffi-dev libncurses-dev libncursesw5-dev libreadline-dev libssl-dev libyaml-dev openssl zlib1g-dev"
]
},
{
"name": "arm64-linux",
"arch": "arm64",
"compiler": "gcc-10",
"before_install": [
"tool/travis_retry.sh sudo bash -c \"rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq\"",
"tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install ccache gcc-10 g++-10 libffi-dev libncurses-dev libncursesw5-dev libreadline-dev libssl-dev libyaml-dev openssl zlib1g-dev"
]
},
{
"name": "ppc64le-linux",
"arch": "ppc64le",
"compiler": "gcc"
},
{
"name": "s390x-linux",
"arch": "s390x",
"dist": "jammy",
"compiler": "gcc",
"env": [
"DFLTCC=0"
]
},
{
"name": "arm32-linux",
"arch": "arm64",
"compiler": "arm-linux-gnueabihf-gcc",
"env": [
"SETARCH='setarch linux32 --verbose --32bit'",
"TEST_ALL_SKIPPED_TESTS=test_interrupt_in_other_thread"
],
"before_install": [
"sudo dpkg --add-architecture armhf",
"tool/travis_retry.sh sudo bash -c \"rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq\"",
"tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install ccache crossbuild-essential-armhf libc6:armhf libstdc++-10-dev:armhf libffi-dev:armhf libncurses-dev:armhf libncursesw5-dev:armhf libreadline-dev:armhf libssl-dev:armhf libyaml-dev:armhf linux-libc-dev:armhf zlib1g-dev:armhf"
]
}
],
"language": "c",
"os": [
"linux"
],
"dist": "focal",
"if": "(repo = ruby/ruby AND (branch = master OR branch =~ /^ruby_\\d_\\d$/)) OR repo != ruby/ruby",
"git": {
"quiet": true
},
"cache": {
"ccache": true,
"directories": [
"$HOME/config_2nd",
"$HOME/.downloaded-cache"
]
},
"env": [
"global={:TEST_ALL_SKIPPED_TESTS=>\"\"}={:TEST_ALL_SEPARATED_TESTS=>\"\"}={:_=>\"$(touch NEWS && find . -type f -exec touch -r NEWS {} +)\"}={:CONFIGURE_TTY=>\"no\"}={:CCACHE_COMPILERCHECK=>\"none\"}={:CCACHE_NOCOMPRESS=>\"1\"}={:CCACHE_MAXSIZE=>\"512Mi\"}={:NPROC=>\"\\\"`nproc`\\\"\"}={:JOBS=>\"-j$((1+${NPROC}))\"}={:SETARCH=>\"\"}={:RUBY_PREFIX=>\"/tmp/ruby-prefix\"}={:GEMS_FOR_TEST=>\"'timezone tzinfo'\"}={:travis_apt_get_options=>\"'--allow-downgrades --allow-remove-essential --allow-change-held-packages'\"}={:travis_apt_get_options=>\"\\\"-yq --no-install-suggests --no-install-recommends $travis_apt_get_options\\\"\"}={:optflags=>\"-O1\"}={:debugflags=>\"-ggdb3\"}"
],
"before_script": [
". tool/ci_functions.sh",
"if [ -n \"${TEST_ALL_SKIPPED_TESTS}\" ]; then\n TEST_ALL_OPTS=\"${TEST_ALL_OPTS} $(ci_to_excluded_test_opts \"${TEST_ALL_SKIPPED_TESTS}\")\"\n if [ -z \"${TEST_ALL_SEPARATED_TESTS}\" ]; then\n TEST_ALL_SEPARATED_TESTS=\"${TEST_ALL_SKIPPED_TESTS}\"\n fi\nfi",
"if [ -n \"${TEST_ALL_SEPARATED_TESTS}\" ]; then\n TEST_ALL_OPTS_SEPARATED=\"$(ci_to_included_test_opts \"${TEST_ALL_SEPARATED_TESTS}\")\"\nfi",
"echo TEST_ALL_OPTS=\"${TEST_ALL_OPTS}\" TEST_ALL_OPTS_SEPARATED=\"${TEST_ALL_OPTS_SEPARATED}\"",
"rm -fr .ext autom4te.cache",
"[ -d ~/.downloaded-cache ] ||\nmkdir ~/.downloaded-cache",
"ln -s ~/.downloaded-cache",
"> config.status",
"> .rbconfig.time",
"sed -f tool/prereq.status template/Makefile.in common.mk > Makefile",
"make -s $JOBS up",
"make -s $JOBS srcs",
"rm -f config.status Makefile rbconfig.rb .rbconfig.time",
"if [ -d ~/config_2nd ]; then\n cp -pr ~/config_2nd build\nelse\n mkdir build\nfi",
"mkdir config_1st config_2nd gems/src",
"chmod -R a-w .",
"chmod -R u+w build config_1st config_2nd gems/src .bundle",
"cd build",
"case \"$CC\" in\ngcc*) CC=\"ccache $CC${GCC_FLAGS:+ }$GCC_FLAGS -fno-diagnostics-color\";;\nclang*) CC=\"ccache $CC${GCC_FLAGS:+ }$GCC_FLAGS -fno-color-diagnostics\";;\nesac",
"[ ! -f config.cache ] ||\n[ \"$CC\" = \"`sed -n s/^ac_cv_prog_CC=//p config.cache`\" ] ||\n(set -x; exec rm config.cache)",
"$SETARCH ../configure -C --disable-install-doc --prefix=$RUBY_PREFIX $CONFIG_FLAG",
"cp -pr config.cache config.status .ext/include ../config_1st",
"$SETARCH make reconfig",
"cp -pr config.cache config.status .ext/include ../config_2nd",
"(cd .. && exec diff -ru config_1st config_2nd)",
"chmod u+w ..",
"rm -rf ~/config_2nd",
"mv ../config_2nd ~",
"chmod u-w ..",
"$SETARCH make -s $JOBS",
"make -s install",
"[ -z \"${GEMS_FOR_TEST}\" ] ||\n$RUBY_PREFIX/bin/gem install --no-document $GEMS_FOR_TEST",
"echo \"raise 'do not load ~/.irbrc in test'\" > ~/.irbrc"
],
"script": [
"$SETARCH make -s test -o showflags TESTOPTS=\"${TESTOPTS=$JOBS -q --tty=no}\"",
"../tool/travis_wait.sh $SETARCH make -s test-all -o exts TESTOPTS=\"$JOBS -q --tty=no ${TEST_ALL_OPTS}\" RUBYOPT=\"-w\"",
"if [ -n \"${TEST_ALL_OPTS_SEPARATED}\" ]; then\n $SETARCH make -s test-all -o exts TESTOPTS=\"$JOBS -v --tty=no ${TEST_ALL_OPTS_SEPARATED}\" RUBYOPT=\"-w\" || :\nfi\n",
"$SETARCH make -s test-spec",
"$SETARCH make -s -o showflags leaked-globals"
],
"notifications": {
"irc": [
{
"channels": [
"chat.freenode.net#ruby-core"
],
"on_success": "change",
"on_failure": "always",
"template": [
"%{message} by @%{author}: See %{build_url}"
]
}
],
"webhooks": [
{
"urls": [
{
"secure": "mRsoS/UbqDkKkW5p3AEqM27d4SZnV6Gsylo3bm8T/deltQzTsGzZwrm7OIBXZv0UFZdE68XmPlyHfZFLSP2V9QZ7apXMf9/vw0GtcSe1gchtnjpAPF6lYBn7nMCbVPPx9cS0dwL927fjdRM1vj7IKZ2bk4F0lAJ25R25S6teqdk="
}
],
"on_success": "never",
"on_failure": "always"
}
],
"email": [
{
"recipients": [
"jaruga@ruby-lang.org"
]
}
]
},
"jobs": {
"include": [
{
"name": "arm32-linux",
"arch": "arm64",
"compiler": "arm-linux-gnueabihf-gcc",
"env": [
{
"SETARCH": "'setarch linux32 --verbose --32bit'"
},
{
"TEST_ALL_SKIPPED_TESTS": "test_interrupt_in_other_thread"
}
],
"before_install": [
"sudo dpkg --add-architecture armhf",
"tool/travis_retry.sh sudo bash -c \"rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq\"",
"tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install ccache crossbuild-essential-armhf libc6:armhf libstdc++-10-dev:armhf libffi-dev:armhf libncurses-dev:armhf libncursesw5-dev:armhf libreadline-dev:armhf libssl-dev:armhf libyaml-dev:armhf linux-libc-dev:armhf zlib1g-dev:armhf"
]
},
{
"name": "ppc64le-linux",
"arch": "ppc64le",
"compiler": "gcc"
},
{
"name": "s390x-linux",
"arch": "s390x",
"dist": "jammy",
"compiler": "gcc",
"env": [
{
"DFLTCC": "0"
}
]
}
],
"allow_failures": [
{
"name": "arm32-linux"
},
{
"name": "ppc64le-linux"
},
{
"name": "s390x-linux"
}
],
"fast_finish": true
}
}