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

59 lines
1.3 KiB
YAML
Raw Normal View History

2017-12-03 22:47:31 +03:00
sudo: required
2017-12-03 22:47:31 +03:00
language: c
env:
global:
- OPENSSL_INSTALL_DIR="${HOME}/opt"
matrix:
include:
- env: OPENSSL_VERSION="1.0.2o" BUILD_DEB="1"
os: linux
compiler: gcc
- env: OPENSSL_VERSION="1.1.0f"
os: linux
compiler: gcc
2018-08-12 18:18:23 +03:00
- env: OPENSSL_VERSION="1.0.2o" RUN_COVERITY="1"
os: linux
compiler: clang
- env: OPENSSL_VERSION="1.1.0f"
os: linux
compiler: clang
- os: osx
compiler: clang
2018-08-01 14:56:57 +03:00
cache:
directories:
- ${HOME}/Library/Caches/Homebrew
before_install:
2018-08-01 14:24:13 +03:00
- brew update && brew upgrade
script:
- ./configure
- make -C tmp
- otool -L build/vpnserver/vpnserver
addons:
apt:
packages: [ debhelper, devscripts, fakeroot, cmake3, dh-exec ]
cache:
directories:
- download-cache
- ${HOME}/opt
before_install:
- bash .ci/build-openssl.sh > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
2018-08-12 18:18:23 +03:00
before_script:
- .ci/coverity.sh
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"
- ./configure
- make -C tmp
- ldd build/vpnserver/vpnserver
2018-08-10 00:59:43 +03:00
- if [ "${BUILD_DEB}" = "1" ]; then make package -C tmp; fi