summaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* ci(.travis.yml): add unicode lint jobNate2021-08-081-0/+6
|
* Disable "(Trusty) gcc-4.4 compilation"Takayuki Matsuoka2021-05-311-14/+14
| | | | | | | | | | | [lz4-c-compilers] contains the following commands ``` make all CFLAGS=-fPIC LDFLAGS='-pie -fPIE -D_FORTIFY_SOURCE=2' make -C programs ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
* Disable "(Trusty) scan-build + cppcheck"Takayuki Matsuoka2021-05-311-9/+9
| | | | | | | | | | | | | | | | | | | [lz4-scan-build] contains the following command ``` make staticAnalyze ``` [lz4-cppcheck]contains the following command ``` make cppcheck ``` We ignore the exit code of cppcheck. We refer its output as a guideline. [lz4-scan-build] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L285-L302 [lz4-cppcheck] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L268-L282
* Disable "(Trusty) clang-3.8 compilation"Takayuki Matsuoka2021-05-311-12/+12
| | | | | | | | | | [lz4-c-compilers] contains the following command for clang-3.8. ``` make -C tests test-lz4 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
* Disable "(Xenial) gcc-5 compilation"Takayuki Matsuoka2021-05-311-7/+7
| | | | | | | | | | | [lz4-c-compilers] contains the following commands for gcc-5 ``` make -C tests test-lz4 make -C tests test-lz4c32 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
* Disable "(Trusty) gcc-6 standard C compilation"Takayuki Matsuoka2021-05-311-14/+14
| | | | | | | | | | | | | Disable "(Trusty) gcc-6 standard C compilation" [lz4-c-compilers] contains the following commands for gcc-6 ``` make c_standards make -C tests test-lz4 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
* Disable "(Trusty) i386 frame + fuzzer test"Takayuki Matsuoka2021-05-311-8/+8
| | | | | | | | | | | | | | | | | [lz4-frame] contains the following command ``` make -C tests test-frametest32 ``` ` [lz4-fuzzer] contains the following command ``` make -C tests test-fuzzer32 ``` [lz4-frame] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L224-L237 [lz4-fuzzer] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L192-L208
* Disable "(Trusty) i386 benchmark + version test"Takayuki Matsuoka2021-05-311-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | [lz4-c-compilers] contains the following command ``` make -C tests test-lz4c32 ``` [lz4-benchmark] contains the following command ``` make -C tests test-fullbench32 ``` [lz4-versions] contains the following command ``` make -C tests versionsTest ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 [lz4-benchmark] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L167-L189 [lz4-versions] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L211-L221
* Disable "(Trusty) c-to-c++ test"Takayuki Matsuoka2021-05-311-5/+5
| | | | | | | | | | [lz4-c-compilers] contains the following command ``` make ctocpptest ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
* Disable "(Trusty) valgrind test"Takayuki Matsuoka2021-05-311-8/+8
| | | | | | | | | | | | | | | | | [lz4-c-compilers] contains the following command ``` make c_standards ``` [lz4-valgrind] contains the following command ``` make -C tests test-lz4 test-mem ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 [lz4-valgrind] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L305-L316
* Disable "(Trusty) USan test"Takayuki Matsuoka2021-05-311-8/+8
| | | | | | | | | | [lz4-ubsan-x64] contains the following command ``` make usan MOREFLAGS=-Wcomma -Werror ``` [lz4-ubsan-x64] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L322-L336
* Disable "x32 compatibility test"Takayuki Matsuoka2021-05-311-8/+8
| | | | | | | | | | [lz4-c-compilers] contains the following command ``` make -C tests test MOREFLAGS=-mx32 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
* Disable "(Precise) g++ and clang CMake test"Takayuki Matsuoka2021-05-311-10/+10
| | | | | | | | | | | | | | | | | | | | | | [lz4-compilers] contains the following commands. Note that `make all` contains `make examples` ``` make cxxtest make clean make examples make clean cmake make clean clangtest ``` [lz4-build-make-travis-install] contains the following commands. ``` make travis-install ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 [lz4-build-make-travis-install] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L498-L510
* Disable "Custom LZ4_DISTANCE_MAX ; ..."Takayuki Matsuoka2021-05-311-10/+10
| | | | | | | | | | | | | | | | | | | | | | [lz4-custom-distance] contains the following command ``` MOREFLAGS='-DLZ4_DISTANCE_MAX=8000' make V=1 check make V=1 -C programs lz4-wlib make V=1 -C tests fullbench-wmalloc # test LZ4_USER_MEMORY_FUNCTIONS CC="c++ -Wno-deprecated" make V=1 -C tests fullbench-wmalloc # stricter function signature check ``` Actually, there're 3+1 tests (1) Test for Custom LZ4_DISTANCE_MAX. 6654c2c, #753, #755 (2) Test for dynamic link library. 3dd34df, #888 (3-1) Test for LZ4_USER_MEMORY_FUNCTIONS. 52646e8, #937, #946 (3-2) Same as (3-1), but compile it with c++. After we'll stabilize CI tests, this test should be split into 3 individual parts for clarity. [lz4-custom-distance] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L241-L255
* Disable "ASAN tests with fuzzer and frametest"Takayuki Matsuoka2021-05-311-6/+6
| | | | | | | | | | | [lz4-asan-x64] contains the following command ``` sudo sysctl -w vm.mmap_min_addr=4096 CC=clang MOREFLAGS=-fsanitize=address make -C tests test-frametest test-fuzzer ``` [lz4-asan-x64] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L361-L376
* Disable "(Precise) frame and fuzzer test"Takayuki Matsuoka2021-05-311-7/+7
| | | | | | | | | | | | | | [lz4-frame] in ci.yml contains the following command ``` make -C tests test-frametest ``` [lz4-fuzzer] in ci.yml contains the following command ``` make -C tests test-fuzzer ```
* Disable "(Precise) benchmark test"Takayuki Matsuoka2021-05-311-6/+6
| | | | | | | | | | | | Disable "(Precise) benchmark test" lz4-benchmark[1] in ci.yml contains the following command ``` make -C tests test-lz4 test-lz4c test-fullbench ``` [1] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L167-L189
* Disable "(macOS) General Test"Takayuki Matsuoka2021-05-311-9/+9
| | | | | | | | | | | lz4-platform-macos-latest[1] in ci.yml contains the following test command ``` make # test library build make test MOREFLAGS='-Werror -Wconversion -Wno-sign-conversion' | tee ``` [1] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L450
* Remove QEMU test from .travis.ymlTakayuki Matsuoka2021-05-301-22/+22
| | | | We have same test in GitHub Actions.
* Disable Meson + clang build at travis-ciTakayuki Matsuoka2021-05-281-29/+29
|
* fix CFLAGS unexport issueYann Collet2020-12-011-1/+1
|
* changed LZ4_calloc() to a 2-arguments signatureYann Collet2020-11-091-0/+2
| | | | | | to remain similar to stdlib's calloc(). Updated test to use c++ compiler for stricter signature check.
* fix travis testYann Collet2020-11-091-1/+1
|
* first proposal for LZ4_USER_MEMORY_FUNCTIONSYann Collet2020-11-091-1/+3
| | | | | | | | | makes it possible to replace at link time malloc, calloc and free by user-provided functions which must be named LZ4_malloc(), LZ4_calloc() and LZ4_free(). answer #937
* fixed x32 test on TravisYann Collet2020-10-021-5/+2
|
* Merge branch 'dev' into extraInputYann Collet2020-08-271-0/+15
|\
| * added target aarch64, ppc64lw and s390x to TravisCIYann Collet2020-08-221-0/+15
| | | | | | | | more portability tests
* | Merge branch 'dev' into extraInputYann Collet2020-08-181-1/+3
|\ \ | |/
| * added target lz4-wlibYann Collet2020-08-111-1/+3
| | | | | | | | | | | | | | | | variant of lz4 linking to liblz4 dynamic library requires the dynamic library to expose static-only symbols (experimental API) Example for #888
* | added test decompress-partial with extraneous input bytesYann Collet2020-08-121-3/+1
|/ | | | | fails currently, for investigation of #783
* ensure conformance with custom LZ4_DISTANCE_MAXYann Collet2019-07-151-0/+4
| | | | | | | | | | | | | | It's now possible to select a custom LZ4_DISTANCE_MAX at compile time, provided it's <= 65535. However, in some cases (when compressing in byU16 mode), the new distance wasn't respected, as it used to implied that it was necessarily within range. Added a distance check for this case. Also : added a new TravisCI test which ensures that custom LZ4_DISTANCE_MAX compiles correctly and compresses correctly (relying on `assert()` to find outsized offsets).
* Merge pull request #739 from cmeister2/cmeister2/ossfuzzYann Collet2019-06-301-0/+6
|\ | | | | oss-fuzz: Add a fuzzing target that compiles in the oss-fuzz environment
| * Add a fuzzing target that compiles in the oss-fuzz environmentMax Dymond2019-06-281-0/+6
| |
* | Merge pull request #741 from lzutao/meson-deprecated-warnYann Collet2019-06-301-12/+18
|\ \ | | | | | | meson: Fix deprecated warnings on build options
| * | meson: Rename options in travis configLzu Tao2019-06-291-12/+18
| |/
* | travisCI: added ASAN fuzzer testsYann Collet2019-06-291-0/+6
|/ | | | and fixed minor formatting warnings
* meson: Rely only on extracted version in lz4.hLzu Tao2019-04-301-2/+2
| | | | | So now instead of warning when failing to extract version number from lz4.h, we error and stop the build instead.
* contrib: Make Meson build non optionalLzu Tao2019-04-261-3/+3
| | | | | * Update ninja version to 1.9 in CI. * Update default project version in meson script.
* added library build test on Mac OS-XYann Collet2019-04-231-1/+4
|
* ensure tests work when `stdout` is not the consoleYann Collet2019-04-221-1/+1
| | | | | | | ensure this case is continuously tested on travis. Update documentation on implicit output, invite to not rely on implicit output in scripts.
* travis: Prefer `apt-get` in `install` field than `addons-apt-sources`Lzu Tao2019-01-101-46/+25
|
* travis: Prefer `script` field than `Cmd` envLzu Tao2019-01-101-78/+108
|
* meson: Use clang for faster buildLzu Tao2018-12-031-3/+7
| | | | | "ninja install" automatically builds the project, no need to use "ninja"
* Add Travis meson buildLzu Tao2018-12-021-0/+18
|
* added cppcheckYann Collet2018-09-181-1/+2
| | | | | | as Makefile target and Travis CI test. Fixed last cppcheck warnings in tests and examples
* Test Linking C-Compiled Library and C++-Compiled TestsW. Felix Handte2018-05-221-0/+4
|
* added sudo rights for low-mem-address testsCyan49732018-04-131-1/+1
|
* added low-memory address test to travistest49732018-04-061-2/+2
| | | | requires modification linux configuration (sudo)
* travisci : ensure "clean" betweeb 2 testsYann Collet2018-02-011-1/+1
|
* added checkTagYann Collet2018-01-151-0/+8
| | | | | checkTag verifies that provided tag and library version match. It's started automatically in circleCI when a new tag is created.