diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index dc4db7659..000000000 --- a/.travis.yml +++ /dev/null @@ -1,88 +0,0 @@ -os: linux -language: cpp - -# We want to run the `*_severe` debug and test targets; thus, we need -# to enable ptrace capability for (L/A)SAN which is currently not possible -# with container-based builds on travis-ci -# TODO: revert to `sudo: false` once the following are fixed/made possible -# - https://github.com/google/sanitizers/issues/764 -# - https://github.com/travis-ci/travis-ci/issues/9033 -sudo: required - - -# List required addons: - -# - Test with clang and gcc compilers with minimum and default versions: -# Our `*_severe` debug and test targets require g++ >= 4.9 and clang++ >= 3.5 - -# - creating doxygen documentations requires the packages: doxygen ... graphviz - - -jobs: - fast_finish: true - - include: - - compiler: gcc - addons: - apt: - sources: ['ubuntu-toolchain-r-test'] - packages: ['g++-4.9', 'doxygen', 'doxygen-latex', 'doxygen-doc', 'doxygen-gui', 'graphviz'] - env: MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9" ARE_BINUTILS_SAN_READY="true" - - - compiler: gcc - addons: - apt: - sources: ['ubuntu-toolchain-r-test'] - packages: ['doxygen', 'doxygen-latex', 'doxygen-doc', 'doxygen-gui', 'graphviz'] - env: MATRIX_EVAL="echo Default gcc version" ARE_BINUTILS_SAN_READY="false" - #TODO: gcc-5.5.0 leads to error "/usr/bin/ld: unrecognized option '--push-state--no-as-needed'" - # --> update linker via updating "binutils" - # --> for now, skip sanitizer checks (TODO: fix so we don't need to skip) - - - compiler: clang - addons: - apt: - sources: ['ubuntu-toolchain-r-test'] - packages: ['clang-3.5', 'doxygen-latex', 'doxygen-doc', 'doxygen-gui', 'graphviz'] - env: MATRIX_EVAL="CC=clang-3.5 && CXX=clang++-3.5" ARE_BINUTILS_SAN_READY="true" - - - compiler: clang - addons: - apt: - sources: ['ubuntu-toolchain-r-test'] - packages: ['doxygen', 'doxygen-latex', 'doxygen-doc', 'doxygen-gui', 'graphviz'] - env: MATRIX_EVAL="echo Default clang version" ARE_BINUTILS_SAN_READY="true" - - - -before_install: - # set compiler and compiler versions - - eval "${MATRIX_EVAL}" - - ${CC} --version - - ${CXX} --version - - -script: - # print compiler versions as seen by make - - make compiler_version - # compile and run optimized binary - - make clean bin bint_run - # compile and run (severe) debug binary and unit tests with sanitizers - - if [ "$ARE_BINUTILS_SAN_READY" = "true" ] ; then - make clean bin_debug_severe bint_run ; - ASAN_OPTIONS=detect_leaks=1 LSAN_OPTIONS=suppressions=.LSAN_suppr.txt make clean test_severe test_run ; - fi - # determine code coverage of unit tests - - make clean cov test_run - # check that doxygen generates documentation without warnings - - make doc - -before_cache: - # don't cache generated documentation files - - rm -rf doc/html - -after_success: - # have `codecov` collect code coverage results - - bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" - # clean up - - make clean diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 50b245e50..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,29 +0,0 @@ -# Build matrix -platform: - - x86 - - x64 - -# Allow to fail on first error in matrix -# true = allow to fail on first error in matrix -matrix: - fast_finish: true - -install: - - git submodule update --init --recursive - -# custom build scripts (instead of automatic MSBuild) -# Note: appveyor doesn't have sanitizers -> cannot run *_severe test targets -build_script: - - set PATH=%PATH%;c:\cygwin\bin - #- if "%PLATFORM%"=="x86" set PATH=%PATH%;c:\cygwin\bin - #- if "%PLATFORM%"=="x64" set PATH=%PATH%;c:\cygwin64\bin - # print compiler versions as seen by make - - make compiler_version - # compile and run optimized binary - - make clean bin bint_run - # compile and run debug binary - - make clean bin_debug bint_run - # compile and run unit tests - - make clean test test_run - # clean up - - make clean