[前][次][番号順一覧][スレッド一覧]

ruby-changes:52931

From: shyouhei <ko1@a...>
Date: Thu, 18 Oct 2018 10:56:36 +0900 (JST)
Subject: [ruby-changes:52931] shyouhei:r65145 (trunk): .travis.yml: just use env

shyouhei	2018-10-18 10:56:30 +0900 (Thu, 18 Oct 2018)

  New Revision: 65145

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65145

  Log:
    .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.

  Modified files:
    trunk/.travis.yml
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 65144)
+++ .travis.yml	(revision 65145)
@@ -55,18 +55,18 @@ matrix: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L55
       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...:/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/

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]