1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-12 20:50:41 +03:00
SoftEtherVPN/.travis.yml

87 lines
2.0 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
- env: LIBRESSL_VERSION="2.8.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.1.300
before_install:
- true
before_script:
- true
script:
- cd developer_tools/stbchecker
- dotnet run ../../src/bin/hamcore
2018-09-26 05:21:49 +03:00
- env: LABEL="create release from tag"
os: linux
deploy:
provider: releases
api_key: ${GITHUB_OAUTH_TOKEN}
file: se.tar.gz
skip_cleanup: true
on:
tags: true
repo: SoftEtherVPN/SoftEtherVPN
before_install:
- true
before_script:
- if [ -z "$TRAVIS_TAG" ]; then exit 0; fi
script:
- true
- 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)
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 -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