Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 1 | language: c |
Yann Collet | 4856a00 | 2015-01-24 01:58:16 +0100 | [diff] [blame] | 2 | matrix: |
Artyom Dymchenko | 52197bc | 2016-01-13 00:18:49 +0600 | [diff] [blame] | 3 | fast_finish: true |
Yann Collet | 068a8c1 | 2016-06-05 00:23:20 +0200 | [diff] [blame] | 4 | include: |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 5 | # OS X Mavericks |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 6 | - env: Ubu=OS_X_Mavericks Cmd="make gnu90test && make clean && make test && make clean && make travis-install" |
| 7 | os: osx |
| 8 | |
| 9 | |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 10 | # Container-based Ubuntu 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes) |
Przemyslaw Skibinski | 60f10aa | 2016-12-15 11:32:31 +0100 | [diff] [blame^] | 11 | - env: Ubu=12.04cont Cmd="make test && make clean && make travis-install && make -C tests fullbench-dll fullbench-lib" |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 12 | os: linux |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 13 | sudo: false |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 14 | |
Przemyslaw Skibinski | 0efaf7e | 2016-11-30 15:20:24 +0100 | [diff] [blame] | 15 | - 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 Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 16 | os: linux |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 17 | sudo: false |
| 18 | language: cpp |
| 19 | install: |
| 20 | - export CXX="g++-4.8" CC="gcc-4.8" |
Nick Terrell | 1f0b09d | 2016-11-14 10:29:25 -0800 | [diff] [blame] | 21 | - export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*' |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 22 | addons: |
| 23 | apt: |
| 24 | sources: |
| 25 | - ubuntu-toolchain-r-test |
| 26 | packages: |
| 27 | - gcc-4.8 |
| 28 | - g++-4.8 |
Nick Terrell | 2ede75e | 2016-11-14 12:09:44 -0800 | [diff] [blame] | 29 | |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 30 | - env: Ubu=12.04cont Cmd="make usan" |
| 31 | os: linux |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 32 | sudo: false |
Nick Terrell | 2ede75e | 2016-11-14 12:09:44 -0800 | [diff] [blame] | 33 | |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 34 | - env: Ubu=12.04cont Cmd="make asan" |
| 35 | os: linux |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 36 | sudo: false |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 37 | |
| 38 | |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 39 | # Standard Ubuntu 12.04 LTS Server Edition 64 bit |
Przemyslaw Skibinski | 0efaf7e | 2016-11-30 15:20:24 +0100 | [diff] [blame] | 40 | - 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 Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 41 | os: linux |
inikep | 1981d5a | 2016-05-30 10:18:56 +0200 | [diff] [blame] | 42 | sudo: required |
Nick Terrell | 2ede75e | 2016-11-14 12:09:44 -0800 | [diff] [blame] | 43 | |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 44 | - env: Ubu=12.04 Cmd="make asan32" |
| 45 | os: linux |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 46 | sudo: required |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 47 | addons: |
| 48 | apt: |
| 49 | sources: |
| 50 | - ubuntu-toolchain-r-test |
| 51 | packages: |
| 52 | - libc6-dev-i386 |
| 53 | - gcc-multilib |
Nick Terrell | 2ede75e | 2016-11-14 12:09:44 -0800 | [diff] [blame] | 54 | |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 55 | - 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 Terrell | 4cb5e90 | 2016-10-06 21:32:06 -0700 | [diff] [blame] | 57 | 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 Terrell | 4cb5e90 | 2016-10-06 21:32:06 -0700 | [diff] [blame] | 62 | addons: |
| 63 | apt: |
| 64 | sources: |
| 65 | - ubuntu-toolchain-r-test |
| 66 | packages: |
| 67 | - gcc-6 |
| 68 | - g++-6 |
Nick Terrell | 2ede75e | 2016-11-14 12:09:44 -0800 | [diff] [blame] | 69 | |
| 70 | |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 71 | # Ubuntu 14.04 LTS Server Edition 64 bit |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 72 | - env: Ubu=14.04 Cmd="make armtest && make clean && make aarch64test" |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 73 | dist: trusty |
| 74 | sudo: required |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 75 | 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 |
inikep | 156ab8f | 2016-08-17 14:17:54 +0200 | [diff] [blame] | 99 | addons: |
| 100 | apt: |
| 101 | packages: |
| 102 | - valgrind |
Nick Terrell | 2ede75e | 2016-11-14 12:09:44 -0800 | [diff] [blame] | 103 | |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 104 | - 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 |
inikep | 1981d5a | 2016-05-30 10:18:56 +0200 | [diff] [blame] | 106 | dist: trusty |
| 107 | sudo: required |
Nick Terrell | 3b4093c | 2016-09-22 17:45:24 -0700 | [diff] [blame] | 108 | install: |
| 109 | - export CXX="g++-4.8" CC="gcc-4.8" |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 110 | addons: |
| 111 | apt: |
| 112 | packages: |
| 113 | - libc6-dev-i386 |
Nick Terrell | 3b4093c | 2016-09-22 17:45:24 -0700 | [diff] [blame] | 114 | - g++-multilib |
| 115 | - gcc-4.8 |
| 116 | - gcc-4.8-multilib |
| 117 | - g++-4.8 |
| 118 | - g++-4.8-multilib |
Nick Terrell | 2ede75e | 2016-11-14 12:09:44 -0800 | [diff] [blame] | 119 | |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 120 | - env: Ubu=14.04 Cmd="make -C tests test32" |
| 121 | os: linux |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 122 | dist: trusty |
| 123 | sudo: required |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 124 | addons: |
| 125 | apt: |
| 126 | packages: |
| 127 | - libc6-dev-i386 |
| 128 | - gcc-multilib |
Nick Terrell | 2ede75e | 2016-11-14 12:09:44 -0800 | [diff] [blame] | 129 | |
Przemyslaw Skibinski | 0b48a59 | 2016-11-14 13:07:45 +0100 | [diff] [blame] | 130 | - env: Ubu=14.04 Cmd="make gcc5test && make clean && make gcc6test" |
| 131 | os: linux |
inikep | 57b9708 | 2016-09-23 14:59:46 +0200 | [diff] [blame] | 132 | dist: trusty |
| 133 | sudo: required |
inikep | 156ab8f | 2016-08-17 14:17:54 +0200 | [diff] [blame] | 134 | addons: |
| 135 | apt: |
| 136 | sources: |
| 137 | - ubuntu-toolchain-r-test |
| 138 | packages: |
inikep | c5e12f7 | 2016-08-17 17:31:08 +0200 | [diff] [blame] | 139 | - gcc-multilib |
| 140 | - gcc-5 |
inikep | 156ab8f | 2016-08-17 14:17:54 +0200 | [diff] [blame] | 141 | - gcc-5-multilib |
inikep | c5e12f7 | 2016-08-17 17:31:08 +0200 | [diff] [blame] | 142 | - gcc-6 |
inikep | 156ab8f | 2016-08-17 14:17:54 +0200 | [diff] [blame] | 143 | - gcc-6-multilib |
inikep | 1981d5a | 2016-05-30 10:18:56 +0200 | [diff] [blame] | 144 | |
Yann Collet | 068a8c1 | 2016-06-05 00:23:20 +0200 | [diff] [blame] | 145 | script: |
Przemyslaw Skibinski | 672dc77 | 2016-11-14 16:58:39 +0100 | [diff] [blame] | 146 | - JOB_NUMBER=$(echo $TRAVIS_JOB_NUMBER | sed -e 's:[0-9][0-9]*\.\(.*\):\1:') |
Przemyslaw Skibinski | f00e66a | 2016-11-14 18:07:17 +0100 | [diff] [blame] | 147 | # - if [ $JOB_NUMBER -eq 9 ] || [ $JOB_NUMBER -eq 10 ]; then sh -c "$Cmd"; fi |
| 148 | - sh -c "$Cmd" |