2018-07-18 18:46:23 +00:00
matrix :
include :
2018-09-20 21:20:32 +00:00
- name : "j"
language : java
2018-07-18 18:46:23 +00:00
env : BUILD=ICU4J
2018-09-07 23:01:46 +00:00
before_script :
- cd icu4j
- ant init
script :
- ant check
2018-07-18 18:46:23 +00:00
after_failure :
- cat `find out/junit-results -name "*.txt" -exec grep -l FAILED {} \;`
2018-09-20 21:20:32 +00:00
- name : "c: linux gcc"
language : cpp
2018-07-18 18:46:23 +00:00
env : BUILD=ICU4C_GCC
compiler : gcc
script : cd icu4c/source && ./runConfigureICU Linux && make -j2 check
2018-09-20 21:20:32 +00:00
- name : "c: linux clang"
language : cpp
env : BUILD=ICU4C_CLANG
compiler : clang
script : cd icu4c/source && ./runConfigureICU Linux && make -j2 check
- name : "c: osx clang"
language : cpp
2018-07-18 18:46:23 +00:00
env : BUILD=MACINTOSH
os : osx
compiler : clang
script : cd icu4c/source && ./runConfigureICU MacOSX && make -j2 check
2018-08-21 19:56:10 +00:00
# Clang Linux with address sanitizer.
# Note - the 'sudo: true' option forces Travis to use a Virtual machine on GCE instead of
# a Container on EC2 or Packet. Asan builds of ICU fail otherwise.
2018-09-20 21:20:32 +00:00
- name : "c: linux asan"
language : cpp
2018-08-21 19:56:10 +00:00
env : BUILD=ICU4C_CLANG_ASAN
2018-07-18 18:46:23 +00:00
os : linux
dist : trusty
2018-08-21 19:56:10 +00:00
sudo : true
2018-07-18 18:46:23 +00:00
compiler : clang
addons :
apt :
update : true
sources :
- llvm-toolchain-trusty-5.0
packages :
- clang-5.0
script :
2018-08-21 19:56:10 +00:00
- cd icu4c/source && CPPFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address" ./runConfigureICU --enable-debug --disable-release Linux --disable-renaming && make -j2 check
2018-08-25 00:45:22 +00:00
# Clang Linux with thread sanitizer.
#
2018-09-20 21:20:32 +00:00
- name : "c: linux tsan"
language : cpp
2018-08-25 00:45:22 +00:00
env : BUILD=ICU4C_CLANG_THREAD_SAN
os : linux
dist : trusty
sudo : true
compiler : clang
addons :
apt :
update : true
sources :
- llvm-toolchain-trusty-5.0
packages :
- clang-5.0
script :
- cd icu4c/source && CPPFLAGS="-fsanitize=thread" LDFLAGS="-fsanitize=thread" ./runConfigureICU --enable-debug --disable-release Linux --disable-renaming && make -j2 check
2018-09-20 21:20:32 +00:00
# copyright scan / future linter
- name "lint"
script :
- perl tools/scripts/cpysearch/cpyscan.pl