1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-23 01:49:53 +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: build_script:
- make package -C tmp - make package -C tmp
after_build: after_build:
- sudo dpkg -i build/softether-vpn*.deb - .ci/appveyor_afterbuild.sh
- sudo systemctl restart softether-vpnserver on_failure:
- sudo journalctl -xe
artifacts: artifacts:
- path: build/*.deb - path: build/*.deb
name: Ubuntu name: Ubuntu
@ -66,8 +67,9 @@ for:
build_script: build_script:
- make package -C tmp - make package -C tmp
after_build: after_build:
- sudo dpkg -i build/softether-vpn*.deb - .ci/appveyor_afterbuild.sh
- sudo systemctl restart softether-vpnserver on_failure:
- sudo journalctl -xe
artifacts: artifacts:
- path: build/*.deb - path: build/*.deb
name: Ubuntu 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 - make package -C tmp
- dpkg -i build/softether-vpn*.deb - dpkg -i build/softether-vpn*.deb
bionic:
<<: *ubuntu_def
image: ubuntu:bionic
xenial:
<<: *ubuntu_def
image: ubuntu:xenial
trusty: trusty:
<<: *ubuntu_def <<: *ubuntu_def
image: ubuntu:trusty image: ubuntu:trusty