summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 00:07:36 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 00:07:37 +0900
commit60a49a6ff95ece1a13004a53db001bfde2373afc (patch)
tree0a0abee1b0f49a07ffb2c5dfb8237856bf070965 /.travis.yml
parent834e77186086a4ae1fc73edbe035e90157d79fab (diff)
downloadruby-60a49a6ff95ece1a13004a53db001bfde2373afc.tar.gz
Fix SUPPORT_JOKE CI on Travis
It looks like a flag which cannot be enabled on configure.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 1c6833f76e..4f9e032389 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,6 +94,7 @@ env:
- tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
- tool/travis_retry.sh sudo bash -c "rm -rf '${TRAVIS_ROOT}/var/lib/apt/lists/'* && exec apt-get update -yq"
- |-
+ ${BEFORE_INSTALL}
tool/travis_retry.sh sudo -E apt-get $travis_apt_get_options install \
gcc-8 \
libffi-dev \
@@ -181,7 +182,7 @@ env:
<<: *cron-only
<<: *make-test-only
env:
- - cppflags=-DSUPPORT_JOKE
+ - BEFORE_INSTALL="sed vm_opts.h -e 's/SUPPORT_JOKE *0/SUPPORT_JOKE 1/' -i"
- &WITH_COROUTINE_UCONTEXT
name: COROUTINE=ucontext