aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shipitsin2019-03-11 18:36:19 +0500
committerGert Doering2019-03-18 19:59:17 +0100
commit4ca813798af89997441bc35723ed1995b6b269e1 (patch)
tree05655717dc292f4054599f94717f08eab1568085
parent27fb43da6f86eda7a6e5a033e060cab5be0cdbe9 (diff)
downloadopenvpn-4ca813798af89997441bc35723ed1995b6b269e1.zip
openvpn-4ca813798af89997441bc35723ed1995b6b269e1.tar.gz
travis-ci: change trusty image to xenial
Ubuntu Trusty reaches End of Life on April 30, 2019 Let us switch to xenial. Also, it simplifies mingw builds. We do not need to add xenial mingw manually anymore Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com> Acked-by: Steffan Karger <steffan.karger@fox-it.com> Message-Id: <20190311133620.18278-3-chipitsine@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18270.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
-rw-r--r--.travis.yml9
-rwxr-xr-x.travis/build-deps.sh9
2 files changed, 2 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index 428131e..bf46b14 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
sudo: required
-dist: trusty
+dist: xenial
os: linux
@@ -75,12 +75,7 @@ matrix:
addons:
apt:
update: true
- packages:
- - liblzo2-dev
- - libpam0g-dev
- - liblz4-dev
- - linux-libc-dev
- - man2html
+ packages: [ liblzo2-dev, libpam0g-dev, liblz4-dev, linux-libc-dev, man2html, mingw-w64]
cache:
directories:
diff --git a/.travis/build-deps.sh b/.travis/build-deps.sh
index 96a030c..391b35e 100755
--- a/.travis/build-deps.sh
+++ b/.travis/build-deps.sh
@@ -130,15 +130,6 @@ build_openssl () {
fi
}
-if [ ! -z ${CHOST+x} ]; then
- #
- # openvpn requires at least mingw-gcc-4.9, which is available at xenial repo
- #
- sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu xenial main universe"
- sudo apt-get update
- sudo apt-get -y install dpkg mingw-w64
-fi
-
# Download and build crypto lib
if [ "${SSLLIB}" = "openssl" ]; then
download_openssl