1 language: c 2 matrix: 3 fast_finish: true 4 include: 5 # OS X Mavericks 6 - os: osx 7 install: 8 - export CC=clang 9 env: Ubu=OS_X_Mavericks Cmd='make -C tests test-lz4 MOREFLAGS="-Werror -Wconversion -Wno-sign-conversion" && CFLAGS=-m32 make -C tests clean test-lz4-contentSize' COMPILER=clang 10 11 # Container-based 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes) 12 - os: linux 13 sudo: false 14 env: Ubu=12.04cont Cmd='make -C tests test-lz4 test-lz4c test-fasttest test-fullbench' COMPILER=cc 15 16 - os: linux 17 sudo: false 18 env: Ubu=12.04cont Cmd='make -C tests test-frametest test-fuzzer' COMPILER=cc 19 20 - os: linux 21 sudo: false 22 env: Ubu=12.04cont Cmd="make gpptest && make clean examples && make clean cmake && make clean travis-install && make clean clangtest" COMPILER=cc 23 24 25 # 14.04 LTS Server Edition 64 bit 26 - env: Ubu=14.04 Cmd='make -C tests test MOREFLAGS=-mx32' COMPILER=cc 27 dist: trusty 28 sudo: required 29 addons: 30 apt: 31 packages: 32 - libc6-dev-i386 33 - gcc-multilib 34 35 - env: Ubu=14.04 Cmd='make usan' COMPILER=clang 36 dist: trusty 37 sudo: required 38 addons: 39 apt: 40 packages: 41 - clang 42 43 - env: Ubu=14.04 Cmd='make c_standards && make -C tests test-lz4 test-mem' COMPILER=cc 44 dist: trusty 45 sudo: required 46 addons: 47 apt: 48 packages: 49 - valgrind 50 51 - env: Ubu=14.04 Cmd='make -C tests test-lz4c32 test-fullbench32 versionsTest' COMPILER=cc 52 dist: trusty 53 sudo: required 54 addons: 55 apt: 56 packages: 57 - python3 58 - libc6-dev-i386 59 - gcc-multilib 60 61 - env: Ubu=14.04 Cmd='make -C tests test-frametest32 test-fuzzer32' COMPILER=cc 62 dist: trusty 63 sudo: required 64 addons: 65 apt: 66 packages: 67 - libc6-dev-i386 68 - gcc-multilib 69 70 - env: Ubu=14.04 Cmd='make c_standards CC=gcc-6 && make -C tests test-lz4 CC=gcc-6 MOREFLAGS=-Werror' COMPILER=gcc-6 71 dist: trusty 72 sudo: required 73 addons: 74 apt: 75 sources: 76 - ubuntu-toolchain-r-test 77 packages: 78 - gcc-6 79 80 - env: Ubu=14.04 Cmd='make platformTest CC=arm-linux-gnueabi-gcc QEMU_SYS=qemu-arm-static && make platformTest CC=aarch64-linux-gnu-gcc QEMU_SYS=qemu-aarch64-static' COMPILER=arm-linux-gnueabi-gcc 81 dist: trusty 82 sudo: required 83 addons: 84 apt: 85 packages: 86 - qemu-system-arm 87 - qemu-user-static 88 - gcc-arm-linux-gnueabi 89 - libc6-dev-armel-cross 90 - gcc-aarch64-linux-gnu 91 - libc6-dev-arm64-cross 92 93 - env: Ubu=14.04 Cmd='make -C tests test-lz4 clean test-lz4c32 CC=gcc-5 MOREFLAGS=-Werror' COMPILER=gcc-5 94 dist: trusty 95 sudo: required 96 addons: 97 apt: 98 sources: 99 - ubuntu-toolchain-r-test 100 packages: 101 - libc6-dev-i386 102 - gcc-multilib 103 - gcc-5 104 - gcc-5-multilib 105 106 - env: Ubu=14.04 Cmd='make -C tests test-lz4 CC=clang-3.8' COMPILER=clang-3.8 107 dist: trusty 108 sudo: required 109 addons: 110 apt: 111 sources: 112 - ubuntu-toolchain-r-test 113 - llvm-toolchain-precise-3.8 114 packages: 115 - clang-3.8 116 117 - env: Ubu=14.04 Cmd='make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc-static && make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc64-static MOREFLAGS=-m64' COMPILER=powerpc-linux-gnu-gcc 118 dist: trusty 119 sudo: required 120 addons: 121 apt: 122 packages: 123 - qemu-system-ppc 124 - qemu-user-static 125 - gcc-powerpc-linux-gnu 126 127 - env: Ubu=14.04 Cmd='make staticAnalyze' COMPILER=clang 128 dist: trusty 129 sudo: required 130 addons: 131 apt: 132 packages: 133 - clang 134 135 - env: Ubu=14.04 Cmd='make clean all CC=gcc-4.4 MOREFLAGS=-Werror && make clean && CFLAGS=-fPIC LDFLAGS="-pie -fPIE -D_FORTIFY_SOURCE=2" make -C programs' COMPILER=gcc-4.4 136 dist: trusty 137 sudo: required 138 addons: 139 apt: 140 sources: 141 - ubuntu-toolchain-r-test 142 packages: 143 - libc6-dev-i386 144 - gcc-multilib 145 - gcc-4.4 146 147 script: 148 - echo Cmd=$Cmd 149 - $COMPILER -v 150 - sh -c "$Cmd" 151