forked from unicode-org/icu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
84 lines (77 loc) · 2.5 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
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
- INTLTEST_OPTS="utility/MultithreadTest rbbi/RBBIMonkeyTest format/CalendarLimitTest"
- CPPFLAGS="-fsanitize=thread"
- LDFLAGS=-fsanitize=thread
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 &&
./runConfigureICU --enable-debug --disable-release Linux --disable-renaming &&
make -j2 &&
make -j2 -C test &&
make -j2 -C test/intltest check
# copyright scan / future linter
- name: "lint"
script:
- perl tools/scripts/cpysearch/cpyscan.pl