]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
travis-ci: change trusty image to xenial
authorIlya Shipitsin <chipitsine@gmail.com>
Mon, 11 Mar 2019 13:36:19 +0000 (18:36 +0500)
committerGert Doering <gert@greenie.muc.de>
Mon, 18 Mar 2019 18:59:17 +0000 (19:59 +0100)
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>
.travis.yml
.travis/build-deps.sh

index 428131ec1d459b108a6d207806c26c3335915d65..bf46b14ca727874b2b49cbaad2359b4d0f183710 100644 (file)
@@ -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:
index 96a030cc656f2ca936f3fb98fb2d54022527f79b..391b35ef7bc6deba2bfdc590b2bf3c4f4f2c81c6 100755 (executable)
@@ -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