Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 1 | language: c |
Artyom Dymchenko | 1e00816 | 2016-01-11 21:39:42 +0600 | [diff] [blame] | 2 | compiler: gcc |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 3 | matrix: |
Artyom Dymchenko | 52197bc | 2016-01-13 00:18:49 +0600 | [diff] [blame] | 4 | fast_finish: true |
Yann Collet | 068a8c1 | 2016-06-05 00:23:20 +0200 | [diff] [blame] | 5 | include: |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 6 | # 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 Terrell | 1f0b09d | 2016-11-14 10:29:25 -0800 | [diff] [blame^] | 18 | - export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*' |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 19 | addons: |
| 20 | apt: |
| 21 | sources: |
| 22 | - ubuntu-toolchain-r-test |
| 23 | packages: |
| 24 | - gcc-4.8 |
| 25 | - g++-4.8 |
Yann Collet | 861cd06 | 2016-11-03 01:11:56 -0700 | [diff] [blame] | 26 | 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" |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 27 | - 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 |
inikep | 1981d5a | 2016-05-30 10:18:56 +0200 | [diff] [blame] | 34 | - os: linux |
| 35 | sudo: required |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 36 | 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 |
inikep | 82057aa | 2016-10-06 13:23:52 +0200 | [diff] [blame] | 48 | 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" |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 49 | - 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 Terrell | 4cb5e90 | 2016-10-06 21:32:06 -0700 | [diff] [blame] | 59 | - 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 |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 73 | # Ubuntu 14.04 LTS Server Edition 64 bit |
| 74 | - os: linux |
| 75 | dist: trusty |
| 76 | sudo: required |
inikep | e82c811 | 2016-09-23 16:20:13 +0200 | [diff] [blame] | 77 | env: PLATFORM="Ubuntu 14.04" CMD='make -C lib all && CFLAGS="-O1 -g" make -C zlibWrapper valgrindTest && make -C tests valgrindTest' |
inikep | 156ab8f | 2016-08-17 14:17:54 +0200 | [diff] [blame] | 78 | addons: |
| 79 | apt: |
| 80 | packages: |
| 81 | - valgrind |
inikep | 1981d5a | 2016-05-30 10:18:56 +0200 | [diff] [blame] | 82 | - os: linux |
| 83 | dist: trusty |
| 84 | sudo: required |
Nick Terrell | 3b4093c | 2016-09-22 17:45:24 -0700 | [diff] [blame] | 85 | install: |
| 86 | - export CXX="g++-4.8" CC="gcc-4.8" |
Nick Terrell | 8b4e842 | 2016-10-06 18:17:08 -0700 | [diff] [blame] | 87 | 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" |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 88 | addons: |
| 89 | apt: |
| 90 | packages: |
| 91 | - libc6-dev-i386 |
Nick Terrell | 3b4093c | 2016-09-22 17:45:24 -0700 | [diff] [blame] | 92 | - g++-multilib |
| 93 | - gcc-4.8 |
| 94 | - gcc-4.8-multilib |
| 95 | - g++-4.8 |
| 96 | - g++-4.8-multilib |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 97 | - 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" |
inikep | 156ab8f | 2016-08-17 14:17:54 +0200 | [diff] [blame] | 110 | addons: |
| 111 | apt: |
| 112 | sources: |
| 113 | - ubuntu-toolchain-r-test |
| 114 | packages: |
inikep | c5e12f7 | 2016-08-17 17:31:08 +0200 | [diff] [blame] | 115 | - gcc-multilib |
| 116 | - gcc-5 |
inikep | 156ab8f | 2016-08-17 14:17:54 +0200 | [diff] [blame] | 117 | - gcc-5-multilib |
inikep | c5e12f7 | 2016-08-17 17:31:08 +0200 | [diff] [blame] | 118 | - gcc-6 |
inikep | 156ab8f | 2016-08-17 14:17:54 +0200 | [diff] [blame] | 119 | - gcc-6-multilib |
inikep | 1981d5a | 2016-05-30 10:18:56 +0200 | [diff] [blame] | 120 | exclude: |
| 121 | - compiler: gcc |
| 122 | |
Yann Collet | 068a8c1 | 2016-06-05 00:23:20 +0200 | [diff] [blame] | 123 | script: |
inikep | c9bb102 | 2016-06-21 18:04:13 +0200 | [diff] [blame] | 124 | - sh -c "$CMD" |