ICU-20172 Add ICU4C dependency checker to Travis CI

This commit is contained in:
Andy Heninger 2018-11-05 11:16:41 -08:00
parent 9a5b7af83d
commit 92d0d1447f

View File

@ -11,17 +11,31 @@ matrix:
after_failure:
- cat `find out/junit-results -name "*.txt" -exec grep -l FAILED {} \;`
# gcc debug build.
# Includes dependency checker.
# Note - the dependency checker needs to be run on both a debug and an optimized build.
# This one (gcc) for debug, and linux clang (below) for optimized.
- name: "c: linux gcc"
language: cpp
env: BUILD=ICU4C_GCC
compiler: gcc
script: cd icu4c/source && ./runConfigureICU Linux && make -j2 check
before_script:
- cd icu4c/source
- ./runConfigureICU --enable-debug --disable-release Linux
- make -j2
script:
- make -j2 check
- ( cd test/depstest && ./depstest.py ../../../source/ )
- name: "c: linux clang"
language: cpp
env: BUILD=ICU4C_CLANG
compiler: clang
script: cd icu4c/source && ./runConfigureICU Linux && make -j2 check
before_script:
- cd icu4c/source
- ./runConfigureICU Linux
- make -j2
script:
- make -j2 check
- ( cd test/depstest && ./depstest.py ../../../source/ )
- name: "c: osx clang"
language: cpp