scuffed-code/.travis.yml
Steven R. Loomis 5e5b4b3bab
ICU-20066 fixup .travis.yml (#160)
* ICU-20066 fixup .travis.yml

- correct typo from 518f10b7a90a7bca1dd554601a681ba9f341f583
- 859d6090dc1feee160e870e8ef3d39197a98e1d9 added a PR template that needed exclusion
2018-09-27 14:27:41 -07:00

77 lines
2.3 KiB
YAML

matrix:
include:
- name: "j"
language: java
env: BUILD=ICU4J
before_script:
- cd icu4j
- ant init
script:
- ant check
after_failure:
- cat `find out/junit-results -name "*.txt" -exec grep -l FAILED {} \;`
- name: "c: linux gcc"
language: cpp
env: BUILD=ICU4C_GCC
compiler: gcc
script: cd icu4c/source && ./runConfigureICU Linux && make -j2 check
- 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
env: BUILD=MACINTOSH
os: osx
compiler: clang
script: cd icu4c/source && ./runConfigureICU MacOSX && make -j2 check
# 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.
- name: "c: linux asan"
language: cpp
env: BUILD=ICU4C_CLANG_ASAN
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=address" LDFLAGS="-fsanitize=address" ./runConfigureICU --enable-debug --disable-release Linux --disable-renaming && make -j2 check
# Clang Linux with thread sanitizer.
#
- name: "c: linux tsan"
language: cpp
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
# copyright scan / future linter
- name: "lint"
script:
- perl tools/scripts/cpysearch/cpyscan.pl