new Travis tests
This commit is contained in:
parent
90981a35c9
commit
0f73ed5726
30
.travis.yml
30
.travis.yml
@ -26,15 +26,37 @@ matrix:
|
|||||||
packages:
|
packages:
|
||||||
- valgrind
|
- valgrind
|
||||||
- clang
|
- 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 QEMU_SYS=qemu-arm-static
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
|
- qemu-system-arm
|
||||||
|
- qemu-user-static
|
||||||
- gcc-arm-linux-gnueabi
|
- gcc-arm-linux-gnueabi
|
||||||
- libc6-dev-armel-cross
|
|
||||||
- linux-libc-dev-armel-cross
|
- env: Ubu=14.04 Cmd='make armtest' COMPILER=aarch64-linux-gnu-gcc QEMU_SYS=qemu-aarch64-static
|
||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- qemu-system-arm
|
||||||
|
- qemu-user-static
|
||||||
|
- gcc-aarch64-linux-gnu
|
||||||
|
|
||||||
|
- env: Ubu=14.04 Cmd='make armtest' COMPILER=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc64-static
|
||||||
|
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
|
- env: Ubu=14.04 Cmd='make c_standards && make -C tests test-lz4 test-mem' COMPILER=cc
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
@ -63,7 +85,7 @@ matrix:
|
|||||||
- gcc-multilib
|
- gcc-multilib
|
||||||
- gcc-5
|
- gcc-5
|
||||||
- gcc-5-multilib
|
- 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
|
- env: Ubu=14.04 Cmd='make c_standards CC=gcc-6 MOREFLAGS="-Werror" && make -C tests test-lz4 CC=gcc-6 MOREFLAGS="-Werror"' COMPILER=gcc-6
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
addons:
|
addons:
|
||||||
|
@ -59,20 +59,17 @@
|
|||||||
#include "lz4.h" /* LZ4_VERSION_STRING */
|
#include "lz4.h" /* LZ4_VERSION_STRING */
|
||||||
|
|
||||||
|
|
||||||
/****************************
|
/*-************************************
|
||||||
* OS-specific Includes
|
* OS-specific Includes
|
||||||
*****************************/
|
**************************************/
|
||||||
#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(_WIN32)
|
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || (defined(__APPLE__) && defined(__MACH__)) || defined(__DJGPP__) /* https://sourceforge.net/p/predef/wiki/OperatingSystems/ */
|
||||||
# include <io.h> /* _isatty */
|
|
||||||
# if defined(__DJGPP__)
|
|
||||||
# include <unistd.h>
|
|
||||||
# define _isatty isatty
|
|
||||||
# define _fileno fileno
|
|
||||||
# endif
|
|
||||||
# define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream))
|
|
||||||
#else
|
|
||||||
# include <unistd.h> /* isatty */
|
# include <unistd.h> /* isatty */
|
||||||
# define IS_CONSOLE(stdStream) isatty(fileno(stdStream))
|
# define IS_CONSOLE(stdStream) isatty(fileno(stdStream))
|
||||||
|
#elif defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
|
||||||
|
# include <io.h> /* _isatty */
|
||||||
|
# define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream))
|
||||||
|
#else
|
||||||
|
# define IS_CONSOLE(stdStream) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user