summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-18 01:56:30 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-18 01:56:30 +0000
commit8b2f7b82a83328b6d549e62685cb92cf5641bd0a (patch)
tree8262891e7c9d30a09cb743f2e1cce6fe83bdb382
parent9950fff2fabd342b63223ceb374ea77aa418d4a8 (diff)
.travis.yml: just use env
You don't have to use `before_install` to introduce new environment variables; that is to be done using `env` command. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 552bdb2cb1..9c114af3b4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -55,18 +55,18 @@ matrix:
compiler: gcc
env:
- "CONFIG_FLAG='--with-gmp --with-jemalloc --with-valgrind'"
- before_install: &prepare_linux
- "JOBS=-j`nproc`"
- os: linux
compiler: gcc-8
- before_install: *prepare_linux
+ env:
+ - "JOBS=-j`nproc`"
- os: osx
compiler: clang
# We are not going to make rdoc here; that is to be done above.
env:
- "CONFIG_FLAG='--disable-install-doc --with-opt-dir=/usr/local/opt/openssl@1.1:/usr/local/opt/zlib'"
- before_install:
- "JOBS=-j`sysctl -n hw.activecpu`"
+ before_install:
# Bare "brew update" nukes everything.
# These steps are very carefully chosen to avoid breaking things.
- brew_core_dir=/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/