2016-11-15 21:01:50 +00:00
|
|
|
language: c
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2016-11-15 22:49:21 +00:00
|
|
|
include:
|
|
|
|
# OS X Mavericks
|
|
|
|
- os: osx
|
|
|
|
env: Ubu=OS_X_Mavericks Cmd='make -C tests test-lz4 CC=clang MOREFLAGS="-Werror -Wconversion -Wno-sign-conversion"' COMPILER=clang
|
|
|
|
|
|
|
|
# Container-based 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes)
|
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
env: Ubu=12.04cont Cmd='make -C tests test-lz4 test-lz4c test-fasttest test-fullbench' COMPILER=cc
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
env: Ubu=12.04cont Cmd='make -C tests test-frametest test-fuzzer' COMPILER=cc
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
sudo: false
|
2016-11-17 22:02:01 +00:00
|
|
|
env: Ubu=12.04cont Cmd="make gpptest && make clean examples && make clean cmake && make clean travis-install && make clean clangtest" COMPILER=cc
|
2016-11-15 22:49:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 14.04 LTS Server Edition 64 bit
|
2016-11-21 19:10:57 +00:00
|
|
|
- env: Ubu=14.04 Cmd='make -C tests test MOREFLAGS=-mx32' COMPILER=cc
|
2016-11-18 02:06:22 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2016-11-21 19:10:57 +00:00
|
|
|
- libc6-dev-i386
|
|
|
|
- gcc-multilib
|
2016-11-18 02:06:22 +00:00
|
|
|
|
2016-11-18 02:41:26 +00:00
|
|
|
- env: Ubu=14.04 Cmd='make usan' COMPILER=clang
|
2016-11-15 22:49:21 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2016-11-18 02:30:46 +00:00
|
|
|
- clang
|
2016-11-18 02:06:22 +00:00
|
|
|
|
2016-11-21 19:10:57 +00:00
|
|
|
- env: Ubu=14.04 Cmd='make c_standards && make -C tests test-lz4 test-mem' COMPILER=cc
|
2016-11-18 02:06:22 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2016-11-21 19:10:57 +00:00
|
|
|
- valgrind
|
2016-11-15 22:49:21 +00:00
|
|
|
|
2016-11-21 19:10:57 +00:00
|
|
|
- env: Ubu=14.04 Cmd='make -C tests test-lz4c32 test-fullbench32 versionsTest' COMPILER=cc
|
2016-11-15 22:49:21 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2016-11-21 19:10:57 +00:00
|
|
|
- python3
|
2016-11-19 01:16:51 +00:00
|
|
|
- libc6-dev-i386
|
|
|
|
- gcc-multilib
|
|
|
|
|
2016-11-21 19:10:57 +00:00
|
|
|
- env: Ubu=14.04 Cmd='make -C tests test-frametest32 test-fuzzer32' COMPILER=cc
|
2016-11-19 01:16:51 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2016-11-18 02:06:22 +00:00
|
|
|
- libc6-dev-i386
|
|
|
|
- gcc-multilib
|
2016-11-15 22:49:21 +00:00
|
|
|
|
2016-11-21 19:10:57 +00:00
|
|
|
- env: Ubu=14.04 Cmd='make c_standards CC=gcc-6 && make -C tests test-lz4 CC=gcc-6 MOREFLAGS=-Werror' COMPILER=gcc-6
|
2016-11-15 22:49:21 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
2016-11-21 19:10:57 +00:00
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
2016-11-15 22:49:21 +00:00
|
|
|
packages:
|
2016-11-21 19:10:57 +00:00
|
|
|
- gcc-6
|
2016-11-15 22:49:21 +00:00
|
|
|
|
|
|
|
- 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
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- qemu-system-arm
|
|
|
|
- qemu-user-static
|
|
|
|
- gcc-arm-linux-gnueabi
|
|
|
|
- libc6-dev-armel-cross
|
|
|
|
- gcc-aarch64-linux-gnu
|
|
|
|
- libc6-dev-arm64-cross
|
|
|
|
|
2016-11-17 21:02:06 +00:00
|
|
|
- env: Ubu=14.04 Cmd='make -C tests test-lz4 clean test-lz4c32 CC=gcc-5 MOREFLAGS=-Werror' COMPILER=gcc-5
|
2016-11-15 22:49:21 +00:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- libc6-dev-i386
|
|
|
|
- gcc-multilib
|
|
|
|
- gcc-5
|
|
|
|
- gcc-5-multilib
|
|
|
|
|
|
|
|
- env: Ubu=14.04 Cmd='make -C tests test-lz4 CC=clang-3.8' COMPILER=clang-3.8
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.8
|
|
|
|
packages:
|
|
|
|
- clang-3.8
|
|
|
|
|
2016-11-21 19:10:57 +00:00
|
|
|
- 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
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- qemu-system-ppc
|
|
|
|
- qemu-user-static
|
|
|
|
- gcc-powerpc-linux-gnu
|
|
|
|
|
|
|
|
- env: Ubu=14.04 Cmd='make staticAnalyze' COMPILER=clang
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- clang
|
|
|
|
|
2016-11-21 23:04:58 +00:00
|
|
|
- env: Ubu=14.04 Cmd='make clean all CC=gcc-4.4 MOREFLAGS=-Werror' COMPILER=gcc-4.4
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- libc6-dev-i386
|
|
|
|
- gcc-multilib
|
|
|
|
- gcc-4.4
|
|
|
|
|
2016-11-15 22:49:21 +00:00
|
|
|
script:
|
|
|
|
- echo Cmd=$Cmd
|
|
|
|
- $COMPILER -v
|
|
|
|
- sh -c "$Cmd"
|