1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-06 17:50:40 +03:00
SoftEtherVPN/.travis.yml

83 lines
2.2 KiB
YAML
Raw Normal View History

2017-12-03 22:47:31 +03:00
sudo: required
dist: xenial
2017-12-03 22:47:31 +03:00
language: c
env:
global:
- OPENSSL_INSTALL_DIR="${HOME}/opt"
2019-07-17 09:58:30 +03:00
addons:
sonarcloud:
organization: "softethervpn"
matrix:
include:
2019-07-17 10:05:51 +03:00
- env: OPENSSL_VERSION="1.0.2s" BUILD_DEB="1"
os: linux
compiler: gcc
2019-07-17 10:05:51 +03:00
- env: RUN_SONARCLOUD=1 OPENSSL_VERSION="1.1.1c"
os: linux
compiler: gcc
2019-07-17 10:05:51 +03:00
- env: OPENSSL_VERSION="1.1.1c" LABEL="linux-ppc64le" CMAKE_VERSION="3.9.6"
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 > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
- sudo make install > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
- cd ..
2019-07-17 10:05:51 +03:00
- env: OPENSSL_VERSION="1.0.2s" RUN_COVERITY="1"
os: linux
compiler: clang
2019-07-17 10:05:51 +03:00
- env: OPENSSL_VERSION="1.1.1c"
os: linux
compiler: clang
2019-07-17 10:05:51 +03:00
- env: LIBRESSL_VERSION="2.9.2"
os: linux
compiler: gcc
before_install:
- bash .ci/build-libressl.sh > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
2018-09-26 05:21:49 +03:00
- env: LABEL="check stb files"
os: linux
2018-09-23 20:54:57 +03:00
language: csharp
mono: none
dotnet: 2.2.203
2018-09-23 20:54:57 +03:00
before_install:
- true
script:
- cd developer_tools/stbchecker
- dotnet run ../../src/bin/hamcore
- os: osx
compiler: clang
before_install:
- true
script:
- ./configure
- make -C tmp
- otool -L build/vpnserver
2018-10-29 21:21:08 +03:00
- .ci/memory-leak-test.sh
cache:
directories:
- download-cache
- ${HOME}/opt
before_install:
- bash .ci/build-openssl.sh > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
script:
- export OPENSSL_ROOT_DIR=${OPENSSL_INSTALL_DIR}
- export LD_LIBRARY_PATH="${HOME}/opt/lib:${LD_LIBRARY_PATH:-}"
- export CFLAGS="-I${HOME}/opt/include"
- export LDFLAGS="-L${HOME}/opt/lib"
2018-12-28 22:06:05 +03:00
- echo "check_certificate = off" > ~/.wgetrc
- .ci/coverity.sh
2019-07-17 09:58:30 +03:00
- .ci/sonarcloud.sh
- ./configure
- make -j $(nproc || sysctl -n hw.ncpu || echo 4) -C tmp
- ldd build/vpnserver
2018-08-10 00:59:43 +03:00
- if [ "${BUILD_DEB}" = "1" ]; then make package -C tmp; fi
2018-10-29 21:21:08 +03:00
- .ci/memory-leak-test.sh