ICU-20376 Add out-of-source build testing to Travis.
This commit is contained in:
parent
0f7c4c8ed9
commit
1d60f963e8
11
.travis.yml
11
.travis.yml
@ -38,16 +38,21 @@ matrix:
|
|||||||
# Includes dependency checker.
|
# Includes dependency checker.
|
||||||
# Note - the dependency checker needs to be run on both a debug and an optimized build.
|
# 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.
|
# This one (gcc) for debug, and linux clang (below) for optimized.
|
||||||
|
#
|
||||||
|
# Test both out-of-source and in-source builds. This one (gcc) for out-of-source,
|
||||||
|
# and linux clang (below) for in-source.
|
||||||
|
|
||||||
- name: "c: linux gcc"
|
- name: "c: linux gcc"
|
||||||
language: cpp
|
language: cpp
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
before_script:
|
before_script:
|
||||||
- cd icu4c/source
|
- mkdir build
|
||||||
- ./runConfigureICU --enable-debug --disable-release Linux
|
- cd build
|
||||||
|
- ../icu4c/source/runConfigureICU --enable-debug --disable-release Linux
|
||||||
- make -j2
|
- make -j2
|
||||||
script:
|
script:
|
||||||
- make -j2 check
|
- make -j2 check
|
||||||
- ( cd test/depstest && ./depstest.py ../../../source/ )
|
- ( cd ../icu4c/source/test/depstest && ./depstest.py ../../../../build/ )
|
||||||
|
|
||||||
- name: "c: linux clang"
|
- name: "c: linux clang"
|
||||||
language: cpp
|
language: cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user