1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-19 10:10:40 +03:00

Merge PR #773: ci repair and refactoring

This commit is contained in:
Davide Beatrici 2018-10-26 15:08:20 +02:00 committed by GitHub
commit 9ae379bc31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 12 deletions

View File

@ -52,8 +52,9 @@ for:
build_script:
- make package -C tmp
after_build:
- sudo dpkg -i build/softether-vpn*.deb
- sudo systemctl restart softether-vpnserver
- .ci/appveyor_afterbuild.sh
on_failure:
- sudo journalctl -xe
artifacts:
- path: build/*.deb
name: Ubuntu
@ -66,8 +67,9 @@ for:
build_script:
- make package -C tmp
after_build:
- sudo dpkg -i build/softether-vpn*.deb
- sudo systemctl restart softether-vpnserver
- .ci/appveyor_afterbuild.sh
on_failure:
- sudo journalctl -xe
artifacts:
- path: build/*.deb
name: Ubuntu

12
.ci/appveyor_afterbuild.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
set -eux
sudo dpkg -i build/softether-common*.deb
sudo dpkg -i build/softether-vpnbridge*.deb
sudo dpkg -i build/softether-vpnclient*.deb
sudo dpkg -i build/softether-vpncmd*.deb
sudo dpkg -i build/softether-vpnserver*.deb
sudo systemctl restart softether-vpnserver

View File

@ -12,14 +12,6 @@
- make package -C tmp
- dpkg -i build/softether-vpn*.deb
bionic:
<<: *ubuntu_def
image: ubuntu:bionic
xenial:
<<: *ubuntu_def
image: ubuntu:xenial
trusty:
<<: *ubuntu_def
image: ubuntu:trusty