diff options
author | Zied Aouini <aouinizied@gmail.com> | 2021-09-22 12:10:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 12:10:52 +0200 |
commit | 0994771974d686aa5395c5ba0fe71acef0d62e9d (patch) | |
tree | c86c95df6bd80ac0bfe16cbc8ecc88bcf4fe959c /.travis.yml | |
parent | 9717afb2dafdfec24e5431c70eb506d392bf1ef2 (diff) |
Improve CI (#1303)
* Improve CI pipeline
* Fix branch name.
* Fix branch name.
* Fix libgcrypt configuration.
* Update build.yml
* Move to Github Actions instead of Travis CI.
* Fix mingw on ubuntu bionic.
* Reactivate cross compile on Ubuntu Bionic.
* Switch to single line steps.
* Add several compilers versions
* Minor fix.
* Fix build all and delete cxx
* Fix RCE detection.
* Fix PCRE configuration.
* Add condition on PCRE test pcap.
* Update WebattackRCE.pcap.out
* Add missing SUBST.
* Delete WebattackRCE.pcap.out
* Update WebAttackRCE result.
* Fix typo.
* Extend jobs with pcre+msan+maxminddb.
* Fix code inpector warnings.
* Delete .appveyor.yml
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 241 |
1 files changed, 0 insertions, 241 deletions
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 94f3583a3..000000000 --- a/.travis.yml +++ /dev/null @@ -1,241 +0,0 @@ -language: c - -matrix: - include: - - os: osx - compiler: clang - - - os: linux - env: BUILD_DPKG_PACKAGE=y CFLAGS="-Werror" - compiler: gcc - dist: bionic - addons: - apt: - packages: - - fakeroot - - debhelper - - dpkg-dev - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - - - os: linux - env: DISABLE_GCRYPT=y CFLAGS="-Werror" - compiler: gcc - dist: bionic - addons: - apt: - packages: - - fakeroot - - debhelper - - dpkg-dev - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - - - os: linux - env: CFLAGS="-Werror" - compiler: clang - dist: bionic - addons: - apt: - packages: - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - - - os: linux - env: CFLAGS="-Werror" - compiler: gcc - dist: bionic - arch: arm64 - addons: - apt: - packages: - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - - - os: linux - env: CFLAGS="-Werror" - compiler: clang - dist: bionic - arch: arm64 - addons: - apt: - packages: - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - -# Targets below have been disabled as we have no way -# to debug on tsuch platforms at the moment -# - os: linux -# compiler: gcc -# dist: bionic -# arch: s390x -# addons: -# apt: -# packages: -# - libpcap-dev -# - libjson-c-dev -# - autogen -# -# - os: linux -# compiler: clang -# dist: bionic -# arch: s390x -# addons: -# apt: -# packages: -# - libpcap-dev -# - libjson-c-dev -# - autogen - - - os: linux - compiler: gcc-8 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-8 - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - env: - - MATRIX_EVAL="CC=gcc-8" CFLAGS="-Werror" - - - os: linux - compiler: gcc-9 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-9 - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - env: - - MATRIX_EVAL="CC=gcc-9" CFLAGS="-Werror" - - - os: linux - compiler: clang-8 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-8 - packages: - - clang-8 - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - env: - - MATRIX_EVAL="CC=clang-8" CFLAGS="-Werror" - - - os: linux - compiler: clang-7 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-7 - packages: - - clang-7 - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - env: - - MATRIX_EVAL="CC=clang-7" CFLAGS="-Werror" - - - name: fuzza - env: CXXFLAGS="-Werror -g3 -O0 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize=fuzzer-no-link" CFLAGS="-Werror -g3 -O0 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize=fuzzer-no-link" LDFLAGS="-g3 -O0 -fsanitize=address" QA_FUZZ=asan CC=clang-7 && CXX=clang++-7 ASAN_SYMBOLIZER_PATH=/usr/local/clang-7.0.0/bin/llvm-symbolizer - os: linux - compiler: clang-7 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-7 - packages: - - clang-7 - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - - name: fuzzm - env: CXXFLAGS="-Werror -g3 -O0 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=memory -fsanitize=fuzzer-no-link" CFLAGS="-Werror -g3 -O0 -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=memory -fsanitize=fuzzer-no-link" LDFLAGS="-g3 -O0 -fsanitize=memory" QA_FUZZ=msan CC=clang && CXX=clang++ - os: linux - compiler: clang - dist: bionic - addons: - apt: - packages: - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - - name: fuzzu - env: CXXFLAGS="-Werror -g3 -Og -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=undefined -fsanitize=fuzzer-no-link -fno-sanitize=alignment" CFLAGS="-Werror -g3 -Og -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=undefined -fno-sanitize-recover=undefined,integer -fsanitize=fuzzer-no-link -fno-sanitize=alignment" LDFLAGS="-g3 -Og -fsanitize=undefined -fno-sanitize=alignment" QA_FUZZ=ubsan CC=clang-7 && CXX=clang++-7 - os: linux - compiler: clang-7 - addons: - apt: - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-7 - packages: - - clang-7 - - libpcap-dev - - libgcrypt20-dev - - libjson-c-dev - - autogen - - -before_install: - - eval "${MATRIX_EVAL}" - -before_script: - - ./autogen.sh -# - lcov --directory . --zerocounters - -script: - - if [ -n "$QA_FUZZ" ]; then ./configure --enable-fuzztargets ; else - ./configure ; fi - - if [ -n "$BUILD_DPKG_PACKAGE" ]; then cd ./packages/ubuntu ; - ./configure && dpkg-buildpackage -b -us -uc ; cd ../.. ; fi - - if [ -n "$DISABLE_GCRYPT" ]; then ./configure --disable-gcrypt ; fi - - make - - make -C example ndpiSimpleIntegration - - make dist - -#after_script: - - cd tests - - ./do.sh - - ./do-unit.sh - - ./do-dga.sh - -#after_success: -#- cd ${TRAVIS_BUILD_DIR} -#- lcov --directory . --capture --output-file coverage.info # capture coverage info -#- lcov --remove coverage.info 'tests/*' 'packages/*' 'm4/*' 'doc/*' --output-file coverage.info -#- lcov --list coverage.info # debug before upload -#- coveralls-lcov --repo-token ${COVERALLS_TOKEN} coverage.info # uploads to coveralls - -notifications: - email: - recipients: - - packager@ntop.org - on_success: never - on_failure: always |