1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

.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
This commit is contained in:
shyouhei 2018-10-18 01:56:30 +00:00
parent 9950fff2fa
commit 8b2f7b82a8

View file

@ -55,18 +55,18 @@ matrix:
compiler: gcc compiler: gcc
env: env:
- "CONFIG_FLAG='--with-gmp --with-jemalloc --with-valgrind'" - "CONFIG_FLAG='--with-gmp --with-jemalloc --with-valgrind'"
before_install: &prepare_linux
- "JOBS=-j`nproc`" - "JOBS=-j`nproc`"
- os: linux - os: linux
compiler: gcc-8 compiler: gcc-8
before_install: *prepare_linux env:
- "JOBS=-j`nproc`"
- os: osx - os: osx
compiler: clang compiler: clang
# We are not going to make rdoc here; that is to be done above. # We are not going to make rdoc here; that is to be done above.
env: env:
- "CONFIG_FLAG='--disable-install-doc --with-opt-dir=/usr/local/opt/openssl@1.1:/usr/local/opt/zlib'" - "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`" - "JOBS=-j`sysctl -n hw.activecpu`"
before_install:
# Bare "brew update" nukes everything. # Bare "brew update" nukes everything.
# These steps are very carefully chosen to avoid breaking things. # These steps are very carefully chosen to avoid breaking things.
- brew_core_dir=/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/ - brew_core_dir=/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/