From 77894a34ceecf8ce928a46cd9b29cbb0d2f76af9 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 6 Jan 2019 16:53:42 +0500 Subject: [PATCH] AppVeyor: run openvpn integration tests --- .appveyor.yml | 7 +++++++ .ci/run-openvpn-tests.sh | 2 +- azure-pipelines.yml | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 4f018054..080c6c09 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -72,6 +72,10 @@ for: - make package -C tmp -j $(nproc || sysctl -n hw.ncpu || echo 4) test_script: - .ci/appveyor-deb-install-test.sh + - sudo apt-get update && sudo apt-get -y install autoconf libtool liblzo2-dev libpam-dev fping unzip # openvpn build deps + - sudo .ci/start-se-openvpn.sh + - sudo .ci/run-openvpn-tests.sh + - matrix: only: @@ -84,6 +88,9 @@ for: - .ci/memory-leak-test.sh test_script: - .ci/appveyor-deb-install-test.sh + - sudo apt-get update && sudo apt-get -y install autoconf libtool liblzo2-dev libpam-dev fping unzip # openvpn build deps + - sudo .ci/start-se-openvpn.sh + - sudo .ci/run-openvpn-tests.sh deploy: description: 'automatic release' diff --git a/.ci/run-openvpn-tests.sh b/.ci/run-openvpn-tests.sh index 3ca67eb9..334841cf 100755 --- a/.ci/run-openvpn-tests.sh +++ b/.ci/run-openvpn-tests.sh @@ -27,4 +27,4 @@ RUN_TITLE_2="testing tcp/ipv4" OPENVPN_CONF_2="--dev null --proto tcp --port 1194 \$OPENVPN_BASE" EOF -sudo make test_scripts=t_client.sh check +make test_scripts=t_client.sh check diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 17f3f860..24fb53eb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,5 +15,5 @@ steps: .ci/appveyor-deb-install-test.sh sudo apt-get -y install autoconf libtool liblzo2-dev libpam-dev fping unzip # openvpn build deps sudo .ci/start-se-openvpn.sh - .ci/run-openvpn-tests.sh + sudo .ci/run-openvpn-tests.sh displayName: 'Ubuntu 16.04'