blob: c2817c48edd91d66ce8570547902c01d9bf0178a [file] [log] [blame]
Yann Collet4856a002015-01-24 01:58:16 +01001language: c
Yann Collet4856a002015-01-24 01:58:16 +01002matrix:
Artyom Dymchenko52197bc2016-01-13 00:18:49 +06003 fast_finish: true
Yann Collet068a8c12016-06-05 00:23:20 +02004 include:
inikep57b97082016-09-23 14:59:46 +02005 # OS X Mavericks
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +01006 - env: Ubu=OS_X_Mavericks Cmd="make gnu90test && make clean && make test && make clean && make travis-install"
7 os: osx
8
9
inikep57b97082016-09-23 14:59:46 +020010 # Container-based Ubuntu 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes)
Przemyslaw Skibinski60f10aa2016-12-15 11:32:31 +010011 - env: Ubu=12.04cont Cmd="make test && make clean && make travis-install && make -C tests fullbench-dll fullbench-lib"
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010012 os: linux
inikep57b97082016-09-23 14:59:46 +020013 sudo: false
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010014
Przemyslaw Skibinski0efaf7e2016-11-30 15:20:24 +010015 - env: Ubu=12.04cont Cmd="make zlibwrapper && make clean && make -C tests test-zstd-nolegacy && make clean && make cmaketest && make clean && make -C contrib/pzstd googletest pzstd tests check && make -C contrib/pzstd clean"
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010016 os: linux
inikep57b97082016-09-23 14:59:46 +020017 sudo: false
18 language: cpp
19 install:
20 - export CXX="g++-4.8" CC="gcc-4.8"
Nick Terrell1f0b09d2016-11-14 10:29:25 -080021 - export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*'
inikep57b97082016-09-23 14:59:46 +020022 addons:
23 apt:
24 sources:
25 - ubuntu-toolchain-r-test
26 packages:
27 - gcc-4.8
28 - g++-4.8
Nick Terrell2ede75e2016-11-14 12:09:44 -080029
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010030 - env: Ubu=12.04cont Cmd="make usan"
31 os: linux
inikep57b97082016-09-23 14:59:46 +020032 sudo: false
Nick Terrell2ede75e2016-11-14 12:09:44 -080033
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010034 - env: Ubu=12.04cont Cmd="make asan"
35 os: linux
inikep57b97082016-09-23 14:59:46 +020036 sudo: false
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010037
38
inikep57b97082016-09-23 14:59:46 +020039 # Standard Ubuntu 12.04 LTS Server Edition 64 bit
Przemyslaw Skibinski0efaf7e2016-11-30 15:20:24 +010040 - env: Ubu=12.04 Cmd="make -C programs zstd-small zstd-decompress zstd-compress && make -C tests test-gzstd && make -C programs clean && make -C tests versionsTest"
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010041 os: linux
inikep1981d5a2016-05-30 10:18:56 +020042 sudo: required
Nick Terrell2ede75e2016-11-14 12:09:44 -080043
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010044 - env: Ubu=12.04 Cmd="make asan32"
45 os: linux
inikep57b97082016-09-23 14:59:46 +020046 sudo: required
inikep57b97082016-09-23 14:59:46 +020047 addons:
48 apt:
49 sources:
50 - ubuntu-toolchain-r-test
51 packages:
52 - libc6-dev-i386
53 - gcc-multilib
Nick Terrell2ede75e2016-11-14 12:09:44 -080054
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010055 - env: Ubu=12.04 Cmd='cd contrib/pzstd && make googletest && make tsan && make check && make clean && make asan && make check && make clean && cd ../..'
56 os: linux
Nick Terrell4cb5e902016-10-06 21:32:06 -070057 sudo: required
58 install:
59 - export CXX="g++-6" CC="gcc-6"
60 - export LDFLAGS="-fuse-ld=gold"
61 - export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*'
Nick Terrell4cb5e902016-10-06 21:32:06 -070062 addons:
63 apt:
64 sources:
65 - ubuntu-toolchain-r-test
66 packages:
67 - gcc-6
68 - g++-6
Nick Terrell2ede75e2016-11-14 12:09:44 -080069
70
inikep57b97082016-09-23 14:59:46 +020071 # Ubuntu 14.04 LTS Server Edition 64 bit
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010072 - env: Ubu=14.04 Cmd="make armtest && make clean && make aarch64test"
inikep57b97082016-09-23 14:59:46 +020073 dist: trusty
74 sudo: required
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +010075 addons:
76 apt:
77 packages:
78 - qemu-system-arm
79 - qemu-user-static
80 - gcc-arm-linux-gnueabi
81 - libc6-dev-armel-cross
82 - gcc-aarch64-linux-gnu
83 - libc6-dev-arm64-cross
84
85 - env: Ubu=14.04 Cmd='make ppctest && make clean && make ppc64test'
86 dist: trusty
87 sudo: required
88 addons:
89 apt:
90 packages:
91 - qemu-system-ppc
92 - qemu-user-static
93 - gcc-powerpc-linux-gnu
94
95 - env: Ubu=14.04 Cmd='make -C lib all && CFLAGS="-O1 -g" make -C zlibWrapper valgrindTest && make -C tests valgrindTest'
96 os: linux
97 dist: trusty
98 sudo: required
inikep156ab8f2016-08-17 14:17:54 +020099 addons:
100 apt:
101 packages:
102 - valgrind
Nick Terrell2ede75e2016-11-14 12:09:44 -0800103
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +0100104 - env: Ubu=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"
105 os: linux
inikep1981d5a2016-05-30 10:18:56 +0200106 dist: trusty
107 sudo: required
Nick Terrell3b4093c2016-09-22 17:45:24 -0700108 install:
109 - export CXX="g++-4.8" CC="gcc-4.8"
inikep57b97082016-09-23 14:59:46 +0200110 addons:
111 apt:
112 packages:
113 - libc6-dev-i386
Nick Terrell3b4093c2016-09-22 17:45:24 -0700114 - g++-multilib
115 - gcc-4.8
116 - gcc-4.8-multilib
117 - g++-4.8
118 - g++-4.8-multilib
Nick Terrell2ede75e2016-11-14 12:09:44 -0800119
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +0100120 - env: Ubu=14.04 Cmd="make -C tests test32"
121 os: linux
inikep57b97082016-09-23 14:59:46 +0200122 dist: trusty
123 sudo: required
inikep57b97082016-09-23 14:59:46 +0200124 addons:
125 apt:
126 packages:
127 - libc6-dev-i386
128 - gcc-multilib
Nick Terrell2ede75e2016-11-14 12:09:44 -0800129
Przemyslaw Skibinski0b48a592016-11-14 13:07:45 +0100130 - env: Ubu=14.04 Cmd="make gcc5test && make clean && make gcc6test"
131 os: linux
inikep57b97082016-09-23 14:59:46 +0200132 dist: trusty
133 sudo: required
inikep156ab8f2016-08-17 14:17:54 +0200134 addons:
135 apt:
136 sources:
137 - ubuntu-toolchain-r-test
138 packages:
inikepc5e12f72016-08-17 17:31:08 +0200139 - gcc-multilib
140 - gcc-5
inikep156ab8f2016-08-17 14:17:54 +0200141 - gcc-5-multilib
inikepc5e12f72016-08-17 17:31:08 +0200142 - gcc-6
inikep156ab8f2016-08-17 14:17:54 +0200143 - gcc-6-multilib
inikep1981d5a2016-05-30 10:18:56 +0200144
Yann Collet068a8c12016-06-05 00:23:20 +0200145script:
Przemyslaw Skibinski672dc772016-11-14 16:58:39 +0100146 - JOB_NUMBER=$(echo $TRAVIS_JOB_NUMBER | sed -e 's:[0-9][0-9]*\.\(.*\):\1:')
Przemyslaw Skibinskif00e66a2016-11-14 18:07:17 +0100147 # - if [ $JOB_NUMBER -eq 9 ] || [ $JOB_NUMBER -eq 10 ]; then sh -c "$Cmd"; fi
148 - sh -c "$Cmd"