summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-07 16:43:37 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-07 16:43:37 (GMT)
commit7fbb163f3fe39920f3c0ba96a74e9af26727f48c (patch)
treeee1d16e86cb93654058f6b17e17dd31e4ceccbf9 /.travis.yml
parentb6c407886f6c09125478c5b8b633a26e6e3dd9b8 (diff)
downloadlz4-7fbb163f3fe39920f3c0ba96a74e9af26727f48c.zip
lz4-7fbb163f3fe39920f3c0ba96a74e9af26727f48c.tar.gz
lz4-7fbb163f3fe39920f3c0ba96a74e9af26727f48c.tar.bz2
added "make c_standards"
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml40
1 files changed, 21 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml
index 27b4a1f..4a18b17 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,19 +4,21 @@ matrix:
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
+ 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 gpptest && make clean && make examples && make clean && make cmake && make clean && make travis-install" COMPILER=cc
+ env: Ubu=12.04cont Cmd="make gpptest && make clean && make examples && make clean && make cmake && make clean && make travis-install" COMPILER=cc
- os: linux
sudo: false
- env: Ubu="12.04cont" CMD='make clangtest' COMPILER=clang
+ env: Ubu=12.04cont Cmd='make test && make clean' COMPILER=cc
- os: linux
sudo: false
- env: Ubu="12.04cont" CMD='make -C tests test-lz4 && make clean && make -C tests test-lz4 MOREFLAGS="-std=c99" && make clean && make -C tests test-lz4c test-fullbench test-fuzzer test-frametest' COMPILER=cc
+ env: Ubu=12.04cont Cmd='make clangtest' COMPILER=clang
+
# 14.04 LTS Server Edition 64 bit
- - env: Ubu="14.04" CMD='make staticAnalyze sanitize' COMPILER=clang
+ - env: Ubu=14.04 Cmd='make staticAnalyze sanitize' COMPILER=clang
dist: trusty
sudo: required
addons:
@@ -24,7 +26,7 @@ matrix:
packages:
- valgrind
- clang
- - env: Ubu="14.04" CMD='make armtest' COMPILER=arm-linux-gnueabi-gcc
+ - env: Ubu=14.04 Cmd='make armtest' COMPILER=arm-linux-gnueabi-gcc
dist: trusty
sudo: required
addons:
@@ -33,7 +35,14 @@ matrix:
- gcc-arm-linux-gnueabi
- libc6-dev-armel-cross
- linux-libc-dev-armel-cross
- - env: Ubu="14.04" CMD='make -C tests test-lz4 && make clean && make -C tests test-lz4c32 test-fullbench32 test-fuzzer32 test-frametest32 versionsTest' COMPILER=cc
+ - 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 test32 versionsTest' COMPILER=cc
dist: trusty
sudo: required
addons:
@@ -42,7 +51,7 @@ matrix:
- python3
- libc6-dev-i386
- gcc-multilib
- - env: Ubu="14.04" CMD='make -C tests test-lz4 test-lz4c32 CC=gcc-5' COMPILER=gcc-5
+ - env: Ubu=14.04 Cmd='make -C tests test-lz4 test-lz4c32 CC=gcc-5' COMPILER=gcc-5
dist: trusty
sudo: required
addons:
@@ -54,7 +63,7 @@ matrix:
- gcc-multilib
- gcc-5
- gcc-5-multilib
- - env: Ubu="14.04" CMD='make -C tests test-lz4 CC=gcc-6' COMPILER=gcc-6
+ - env: Ubu=14.04 Cmd='make c_standards && make -C tests test-lz4 CC=gcc-6' COMPILER=gcc-6
dist: trusty
sudo: required
addons:
@@ -63,7 +72,7 @@ matrix:
- 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
+ - env: Ubu=14.04 Cmd='make -C tests test-lz4 CC=clang-3.8' COMPILER=clang-3.8
dist: trusty
sudo: required
addons:
@@ -73,15 +82,8 @@ matrix:
- llvm-toolchain-precise-3.8
packages:
- clang-3.8
- - env: Ubu="14.04" CMD='make -C tests test-mem' COMPILER=cc
- dist: trusty
- sudo: required
- addons:
- apt:
- packages:
- - valgrind
script:
- - echo CMD=$CMD
+ - echo Cmd=$Cmd
- $COMPILER -v
- - sh -c "$CMD"
+ - sh -c "$Cmd"