summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-15 22:49:21 (GMT)
committerYann Collet <cyan@fb.com>2016-11-15 22:49:21 (GMT)
commitd613e24945a8cca8aa8985c111f02797d289200c (patch)
tree316af120e58ee57b1e098975c0a82e41a72cc110 /.travis.yml
parentd2be69b144d6c5fd9a3dcbc4133e93e710cda998 (diff)
downloadlz4-d613e24945a8cca8aa8985c111f02797d289200c.zip
lz4-d613e24945a8cca8aa8985c111f02797d289200c.tar.gz
lz4-d613e24945a8cca8aa8985c111f02797d289200c.tar.bz2
restored .travis.yml
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml146
1 files changed, 124 insertions, 22 deletions
diff --git a/.travis.yml b/.travis.yml
index a9d7049..f4facad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,25 +1,127 @@
language: c
-compiler: gcc
-script: make all
-before_install:
- - sudo apt-get update -qq
- - sudo apt-get install -qq gcc-multilib
-
-env:
- global:
- # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
- # via the "travis encrypt" command using the project repo's public key
- - secure: "dTX2Mzka5xLZa0Dy46j+adFGV2e9IXyZtU2+HXlO3a/i1PA3Y4Kt6NSFgCfB3i7jdy+arxyqPOXVH72sHsHiaiMNYFL2d3mQ6XYjOQ4KIE/WW/hZijHtrV9OYJZoJZTuOSRTv+dMuypWJ9XXVxTy4xnUIGQxLa/Fw0LNtjTIt2w="
-
-addons:
- coverity_scan:
- project:
- name: "Cyan4973/lz4"
- description: "Build submitted via Travis CI"
- notification_email: yann.collet.73@gmail.com
- build_command_prepend: "make clean"
- build_command: "make all"
- branch_pattern: coverity_scan
-
matrix:
fast_finish: true
+ 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
+ env: Ubu=12.04cont Cmd="make gpptest-native && make clean && make examples && make clean && make cmake && make clean && make travis-install && make clean && make clangtest-native" COMPILER=cc
+
+
+ # 14.04 LTS Server Edition 64 bit
+ - env: Ubu=14.04 Cmd='make -C tests test-lz4c32 test-fullbench32 versionsTest' COMPILER=cc
+ dist: trusty
+ sudo: required
+ addons:
+ apt:
+ packages:
+ - python3
+ - libc6-dev-i386
+ - gcc-multilib
+
+ - env: Ubu=14.04 Cmd='make -C tests test-frametest32 test-fuzzer32' COMPILER=cc
+ dist: trusty
+ sudo: required
+ addons:
+ apt:
+ packages:
+ - libc6-dev-i386
+ - gcc-multilib
+
+ - env: Ubu=14.04 Cmd='make sanitize' COMPILER=clang
+ dist: trusty
+ sudo: required
+ addons:
+ apt:
+ packages:
+ - valgrind
+
+ - env: Ubu=14.04 Cmd='make staticAnalyze' COMPILER=clang
+ dist: trusty
+ sudo: required
+ addons:
+ apt:
+ packages:
+ - clang
+
+ - 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
+
+ - 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 c_standards && make -C tests test-lz4 test-mem' COMPILER=cc
+ dist: trusty
+ sudo: required
+ addons:
+ apt:
+ packages:
+ - valgrind
+
+ - env: Ubu=14.04 Cmd='make -C tests test-lz4 test-lz4c32 CC=gcc-5 MOREFLAGS=-Werror' COMPILER=gcc-5
+ 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_standards CC=gcc-6 && make -C tests test-lz4 CC=gcc-6 MOREFLAGS=-Werror' COMPILER=gcc-6
+ dist: trusty
+ sudo: required
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - gcc-6
+
+ - 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
+
+script:
+ - echo Cmd=$Cmd
+ - $COMPILER -v
+ - sh -c "$Cmd"