ruby-changes:56402
From: Nobuyoshi <ko1@a...>
Date: Wed, 10 Jul 2019 00:09:43 +0900 (JST)
Subject: [ruby-changes:56402] Nobuyoshi Nakada: d0ef5c21fb (master): Check dependencies on Travis-CI
https://git.ruby-lang.org/ruby.git/commit/?id=d0ef5c21fb From d0ef5c21fb91f7a82910fc71d4d8e1a801266232 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 9 Jul 2019 22:54:34 +0900 Subject: Check dependencies on Travis-CI diff --git a/.travis.yml b/.travis.yml index 1848b79..c4ee4d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -335,6 +335,32 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L335 # Disabling -j3 because it seems to cause a hang on building Ruby: https://travis-ci.org/ruby/ruby/jobs/471021727 - JOBS= + - &dependency + name: Check dependencies in makefiles + <<: *linux + language: ruby + addons: + apt: + packages: + before_install: + install: + before_script: + - "> config.status" + - "> .rbconfig.time" + - sed -f tool/prereq.status template/Makefile.in common.mk > Makefile + - make touch-unicode-files + - make -s $JOBS $UPDATE_UNICODE up + - make -s $JOBS srcs + - rm -f config.status Makefile rbconfig.rb .rbconfig.time + - $SETARCH ./configure -C --disable-install-doc --prefix=$RUBY_PREFIX --disable-rubygems 'optflags=-O0' 'debugflags=-save-temps=obj -g' + - ruby tool/update-deps --fix + script: + - git diff --no-ext-diff --ignore-submodules --exit-code + after_failure: + - echo "Dependencies need to update" + env: + - CONFIG_FLAG= + matrix: include: # to reduce time for finishing all jobs, run the slowest osx build first. @@ -354,6 +380,7 @@ matrix: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L380 - <<: *NO_THREADED_CODE - <<: *baseruby - <<: *rubyspec + - <<: *dependency allow_failures: - name: -fsanitize=address - name: -fsanitize=memory -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/