]> granicus.if.org Git - icu/commitdiff
ICU-20172 Add ICU4C dependency checker to Travis CI
authorAndy Heninger <andy.heninger@gmail.com>
Mon, 5 Nov 2018 19:16:41 +0000 (11:16 -0800)
committerAndy Heninger <andy.heninger@gmail.com>
Wed, 7 Nov 2018 01:50:37 +0000 (17:50 -0800)
.travis.yml

index 26c4811bf8a10dcf77dbeb6a0df599b6054db724..d0473dbb8dcf4fb97c4763f70782284e33623074 100644 (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