blob: 8462b97128dd66ba536d871b39fe602fef2714e3 [file] [log] [blame]
Yann Collet4856a002015-01-24 01:58:16 +01001language: c
Artyom Dymchenko1e008162016-01-11 21:39:42 +06002compiler: gcc
Yann Collet4856a002015-01-24 01:58:16 +01003matrix:
Artyom Dymchenko52197bc2016-01-13 00:18:49 +06004 fast_finish: true
Yann Collet068a8c12016-06-05 00:23:20 +02005 include:
inikep57b97082016-09-23 14:59:46 +02006 # OS X Mavericks
7 - os: osx
8 env: PLATFORM="OS X Mavericks" CMD="make gnu90test && make clean && make test && make clean && make travis-install"
9 # Container-based Ubuntu 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes)
10 - os: linux
11 sudo: false
12 env: PLATFORM="Ubuntu 12.04 container" CMD="make test && make clean && make travis-install"
13 - os: linux
14 sudo: false
15 language: cpp
16 install:
17 - export CXX="g++-4.8" CC="gcc-4.8"
Nick Terrell1f0b09d2016-11-14 10:29:25 -080018 - export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*'
inikep57b97082016-09-23 14:59:46 +020019 addons:
20 apt:
21 sources:
22 - ubuntu-toolchain-r-test
23 packages:
24 - gcc-4.8
25 - g++-4.8
Yann Collet861cd062016-11-03 01:11:56 -070026 env: PLATFORM="Ubuntu 12.04 container" CMD="make zlibwrapper && make clean && make -C tests test-zstd-nolegacy && make clean && make clean && make cmaketest && make clean && make -C contrib/pzstd googletest && make -C contrib/pzstd all && make -C contrib/pzstd check && make -C contrib/pzstd clean"
inikep57b97082016-09-23 14:59:46 +020027 - os: linux
28 sudo: false
29 env: PLATFORM="Ubuntu 12.04 container" CMD="make usan"
30 - os: linux
31 sudo: false
32 env: PLATFORM="Ubuntu 12.04 container" CMD="make asan"
33 # Standard Ubuntu 12.04 LTS Server Edition 64 bit
inikep1981d5a2016-05-30 10:18:56 +020034 - os: linux
35 sudo: required
inikep57b97082016-09-23 14:59:46 +020036 env: PLATFORM="Ubuntu 12.04" CMD="make armtest"
37 addons:
38 apt:
39 packages:
40 - gcc-arm-linux-gnueabi
41 - libc6-dev-armel-cross
42 - linux-libc-dev-armel-cross
43 - binfmt-support
44 - qemu
45 - qemu-user-static
46 - os: linux
47 sudo: required
inikep82057aa2016-10-06 13:23:52 +020048 env: PLATFORM="Ubuntu 12.04" CMD="make -C programs zstd-small && make -C programs zstd-decompress && make -C programs zstd-compress && make -C programs clean && make -C tests versionsTest"
inikep57b97082016-09-23 14:59:46 +020049 - os: linux
50 sudo: required
51 env: PLATFORM="Ubuntu 12.04" CMD="make asan32"
52 addons:
53 apt:
54 sources:
55 - ubuntu-toolchain-r-test
56 packages:
57 - libc6-dev-i386
58 - gcc-multilib
Nick Terrell4cb5e902016-10-06 21:32:06 -070059 - os: linux
60 sudo: required
61 install:
62 - export CXX="g++-6" CC="gcc-6"
63 - export LDFLAGS="-fuse-ld=gold"
64 - export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*'
65 env: PLATFORM="Ubuntu 12.04" CMD='cd contrib/pzstd && make googletest && make tsan && make check && make clean && make asan && make check && make clean && cd ../..'
66 addons:
67 apt:
68 sources:
69 - ubuntu-toolchain-r-test
70 packages:
71 - gcc-6
72 - g++-6
inikep57b97082016-09-23 14:59:46 +020073 # Ubuntu 14.04 LTS Server Edition 64 bit
74 - os: linux
75 dist: trusty
76 sudo: required
inikepe82c8112016-09-23 16:20:13 +020077 env: PLATFORM="Ubuntu 14.04" CMD='make -C lib all && CFLAGS="-O1 -g" make -C zlibWrapper valgrindTest && make -C tests valgrindTest'
inikep156ab8f2016-08-17 14:17:54 +020078 addons:
79 apt:
80 packages:
81 - valgrind
inikep1981d5a2016-05-30 10:18:56 +020082 - os: linux
83 dist: trusty
84 sudo: required
Nick Terrell3b4093c2016-09-22 17:45:24 -070085 install:
86 - export CXX="g++-4.8" CC="gcc-4.8"
Nick Terrell8b4e8422016-10-06 18:17:08 -070087 env: PLATFORM="Ubuntu 14.04" CMD="make gpptest && make clean && make gnu90test && make clean && make c99test && make clean && make gnu99test && make clean && make clangtest && make clean && make -C contrib/pzstd googletest32 && make -C contrib/pzstd all32 && make -C contrib/pzstd check && make -C contrib/pzstd clean"
inikep57b97082016-09-23 14:59:46 +020088 addons:
89 apt:
90 packages:
91 - libc6-dev-i386
Nick Terrell3b4093c2016-09-22 17:45:24 -070092 - g++-multilib
93 - gcc-4.8
94 - gcc-4.8-multilib
95 - g++-4.8
96 - g++-4.8-multilib
inikep57b97082016-09-23 14:59:46 +020097 - os: linux
98 dist: trusty
99 sudo: required
100 env: PLATFORM="Ubuntu 14.04" CMD="make -C tests test32"
101 addons:
102 apt:
103 packages:
104 - libc6-dev-i386
105 - gcc-multilib
106 - os: linux
107 dist: trusty
108 sudo: required
109 env: PLATFORM="Ubuntu 14.04" CMD="make gcc5test && make clean && make gcc6test && sudo apt-get install -y -q qemu-system-ppc binfmt-support qemu-user-static gcc-powerpc-linux-gnu && make clean && make ppctest"
inikep156ab8f2016-08-17 14:17:54 +0200110 addons:
111 apt:
112 sources:
113 - ubuntu-toolchain-r-test
114 packages:
inikepc5e12f72016-08-17 17:31:08 +0200115 - gcc-multilib
116 - gcc-5
inikep156ab8f2016-08-17 14:17:54 +0200117 - gcc-5-multilib
inikepc5e12f72016-08-17 17:31:08 +0200118 - gcc-6
inikep156ab8f2016-08-17 14:17:54 +0200119 - gcc-6-multilib
inikep1981d5a2016-05-30 10:18:56 +0200120 exclude:
121 - compiler: gcc
122
Yann Collet068a8c12016-06-05 00:23:20 +0200123script:
inikepc9bb1022016-06-21 18:04:13 +0200124 - sh -c "$CMD"