sudo: required
-dist: xenial
+dist: bionic
os: linux
matrix:
include:
- - os: linux
+ - name: linux/gcc/x86_64
+ os: linux
+ compiler: gcc
+ - name: linux/gcc/ppc64le
+ env: LABEL="linux-ppc64le" CMAKE_VERSION=3.15.1
+ os: linux-ppc64le
+ compiler: gcc
+ install:
+ - wget https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}.tar.gz && tar -xzf cmake-${CMAKE_VERSION}.tar.gz
+ - cd cmake-${CMAKE_VERSION} && ./bootstrap && sudo make install && cd ..
+ - name: linux/gcc+ASan/x86_64
+ env: ASAN=-DASAN=1
+ os: linux
compiler: gcc
- - env: ASAN=-DASAN=1
+ - name: linux/gcc+Coverity/x86_64 (cron)
+ env: COVERITY_SCAN_PROJECT_NAME="gost-engine" COVERITY_SCAN_BRANCH_PATTERN="*" COVERITY_SCAN_NOTIFICATION_EMAIL="beldmit@gmail.com" COVERITY_SCAN_BUILD_COMMAND="make"
+ if: type == cron
os: linux
compiler: gcc
- - os: osx
+ script:
+ - mkdir build
+ - cd build
+ - cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines ..
+ - curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || true
+ - name: linux/gcc/arm64
+ os: linux
+ arch: arm64
+ compiler: gcc
+ - name: osx/clang/x86_64
+ os: osx
compiler: clang
-
before_script:
- curl -L https://cpanmin.us | sudo perl - --sudo App::cpanminus
- sudo cpanm --notest Test2::V0 > build.log 2>&1 || (cat build.log && exit 1)
- git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
- cd openssl
- - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} && make -j$(nproc) all && make install_sw > build.log 2>&1 || (cat build.log && exit 1)
+ - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} && travis_wait make -s -j$(nproc) all && make -s install_sw
- cd ..
script:
- cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines ${ASAN} ..
- make
- make test CTEST_OUTPUT_ON_FAILURE=1
+ - if [ -z "$ASAN" ]; then make tcl_tests; fi
+