diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-09 22:54:34 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-07-09 23:13:43 +0900 |
commit | d0ef5c21fb91f7a82910fc71d4d8e1a801266232 (patch) | |
tree | 4dad62fd463c0dc71441ee4e35186ff327ac2cb8 /.travis.yml | |
parent | b1be349bfb327753d9f971c9ef692896fac7df08 (diff) | |
download | ruby-d0ef5c21fb91f7a82910fc71d4d8e1a801266232.tar.gz |
Check dependencies on Travis-CI
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 1848b792a7..c4ee4d7069 100644 --- a/.travis.yml +++ b/.travis.yml @@ -335,6 +335,32 @@ env: # 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: - <<: *NO_THREADED_CODE - <<: *baseruby - <<: *rubyspec + - <<: *dependency allow_failures: - name: -fsanitize=address - name: -fsanitize=memory |