From 3675920c1e4e4d8464a6f18b6999b583fc1d3acf Mon Sep 17 00:00:00 2001 From: k0kubun Date: Tue, 23 Oct 2018 14:10:12 +0000 Subject: .travis.yml: run the slowest jobs first to shorten time taken for finishing overall builds. appveyor.yml: comment the same intention in AppVeyor as well git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- .travis.yml | 23 ++++++++++++----------- appveyor.yml | 1 + 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddff56a0a7..3af648d24e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,17 +51,7 @@ addons: matrix: include: - - name: x86_64-linux --with-jemalloc - os: linux - compiler: gcc - env: - - "CONFIG_FLAG='--with-gmp --with-jemalloc --with-valgrind'" - - "JOBS=-j`nproc`" - - name: x86_64-linux - os: linux - compiler: gcc-8 - env: - - "JOBS=-j`nproc`" + # to reduce time for finishing all jobs, run the slowest osx build first. - name: x86_64-darwin17 os: osx compiler: clang @@ -78,6 +68,17 @@ matrix: - git -C $brew_core_dir checkout -q 25590710e3f7af9cfa173c5cd3eb41a0532107b6 - HOMEBREW_NO_AUTO_UPDATE=1 brew upgrade openssl@1.1 - /usr/local/opt/openssl@1.1/bin/openssl version + - name: x86_64-linux --with-jemalloc + os: linux + compiler: gcc + env: + - "CONFIG_FLAG='--with-gmp --with-jemalloc --with-valgrind'" + - "JOBS=-j`nproc`" + - name: x86_64-linux + os: linux + compiler: gcc-8 + env: + - "JOBS=-j`nproc`" # - name: uinversal.i386-darwin17 # os: osx # compiler: clang diff --git a/appveyor.yml b/appveyor.yml index ddbc2b1700..35f34db4f1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,6 +7,7 @@ environment: ruby_version: "24-%Platform%" zlib_version: "1.2.11" matrix: + # to reduce time for finishing all jobs, run the slowest msys2 build first. - build: msys2 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - build: vs -- cgit v1.2.3