From 8b2f7b82a83328b6d549e62685cb92cf5641bd0a Mon Sep 17 00:00:00 2001 From: shyouhei Date: Thu, 18 Oct 2018 01:56:30 +0000 Subject: [PATCH] .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 --- .travis.yml | 6 +++--- 1 file 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/