blob: 350fc1e6b876a666a2edb28f5e325a7041a5515c [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:
inikep1981d5a2016-05-30 10:18:56 +02006 # Container-based Ubuntu 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes)
Yann Collet068a8c12016-06-05 00:23:20 +02007 - os: linux
inikep1981d5a2016-05-30 10:18:56 +02008 sudo: false
inikep5fbc8aa2016-08-10 14:15:39 +02009 env: PLATFORM="Ubuntu 12.04 container" CMD="make test && make clean && make travis-install"
inikep1981d5a2016-05-30 10:18:56 +020010 - os: linux
11 sudo: false
inikep2d5eb2b2016-08-18 13:53:26 +020012 env: PLATFORM="Ubuntu 12.04 container" CMD="make -C tests test-zstd_nolegacy && make clean && make zlibwrapper && make clean && make cmaketest"
inikep1981d5a2016-05-30 10:18:56 +020013 - os: linux
14 sudo: false
inikepc9bb1022016-06-21 18:04:13 +020015 env: PLATFORM="Ubuntu 12.04 container" CMD="make usan"
inikep1981d5a2016-05-30 10:18:56 +020016 - os: linux
17 sudo: false
inikepc9bb1022016-06-21 18:04:13 +020018 env: PLATFORM="Ubuntu 12.04 container" CMD="make asan"
inikep1981d5a2016-05-30 10:18:56 +020019 # Standard Ubuntu 12.04 LTS Server Edition 64 bit
20 - os: linux
21 sudo: required
inikep156ab8f2016-08-17 14:17:54 +020022 env: PLATFORM="Ubuntu 12.04" CMD="make gpptest && make clean && make gnu90test && make clean && make c99test && make clean && make gnu99test && make clean && make clangtest"
23 addons:
24 apt:
25 packages:
26 - libc6-dev-i386
27 - g++-multilib
inikep1981d5a2016-05-30 10:18:56 +020028 - os: linux
29 sudo: required
inikep156ab8f2016-08-17 14:17:54 +020030 env: PLATFORM="Ubuntu 12.04" CMD="make armtest"
31 addons:
32 apt:
33 packages:
34 - gcc-arm-linux-gnueabi
35 - libc6-dev-armel-cross
36 - linux-libc-dev-armel-cross
inikep78f3e062016-08-17 14:52:11 +020037 - binfmt-support
inikepd0c270f2016-08-17 15:59:50 +020038 - qemu
39 - qemu-user-static
inikep1981d5a2016-05-30 10:18:56 +020040 - os: linux
41 sudo: required
inikep2d5eb2b2016-08-18 13:53:26 +020042 env: PLATFORM="Ubuntu 12.04" CMD="make -C tests test32"
inikep156ab8f2016-08-17 14:17:54 +020043 addons:
44 apt:
45 packages:
46 - libc6-dev-i386
inikep78f3e062016-08-17 14:52:11 +020047 - gcc-multilib
inikep4d84bbd2016-07-25 17:49:49 +020048 - os: linux
49 sudo: required
50 env: PLATFORM="Ubuntu 12.04" CMD="make -C tests versionsTest"
inikep1981d5a2016-05-30 10:18:56 +020051 - os: linux
52 sudo: required
inikep156ab8f2016-08-17 14:17:54 +020053 env: PLATFORM="Ubuntu 12.04" CMD="make asan32"
54 addons:
55 apt:
56 packages:
57 - libc6-dev-i386
inikep78f3e062016-08-17 14:52:11 +020058 - gcc-multilib
inikep1981d5a2016-05-30 10:18:56 +020059 - os: linux
60 sudo: required
inikep2d5eb2b2016-08-18 13:53:26 +020061 env: PLATFORM="Ubuntu 12.04" CMD="make -C tests valgrindTest"
inikep156ab8f2016-08-17 14:17:54 +020062 addons:
63 apt:
64 packages:
65 - valgrind
inikep1981d5a2016-05-30 10:18:56 +020066 # Ubuntu 14.04 LTS Server Edition 64 bit
67 - os: linux
68 dist: trusty
69 sudo: required
inikepc5e12f72016-08-17 17:31:08 +020070 env: PLATFORM="Ubuntu 14.04" CMD="make zlibwrapper && make clean && 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 +020071 addons:
72 apt:
73 sources:
74 - ubuntu-toolchain-r-test
75 packages:
inikepc5e12f72016-08-17 17:31:08 +020076 - gcc-multilib
77 - gcc-5
inikep156ab8f2016-08-17 14:17:54 +020078 - gcc-5-multilib
inikepc5e12f72016-08-17 17:31:08 +020079 - gcc-6
inikep156ab8f2016-08-17 14:17:54 +020080 - gcc-6-multilib
inikep1981d5a2016-05-30 10:18:56 +020081 # OS X Mavericks
Yann Collet068a8c12016-06-05 00:23:20 +020082 - os: osx
inikep5fbc8aa2016-08-10 14:15:39 +020083 env: PLATFORM="OS X Mavericks" CMD="make gnu90test && make clean && make test && make clean && make travis-install"
inikep1981d5a2016-05-30 10:18:56 +020084 exclude:
85 - compiler: gcc
86
Yann Collet068a8c12016-06-05 00:23:20 +020087script:
inikepc9bb1022016-06-21 18:04:13 +020088 - sh -c "$CMD"