Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <
20190311133620.18278-2-chipitsine@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18271.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit
27fb43da6f86eda7a6e5a033e060cab5be0cdbe9)
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>
(cherry picked from commit
4ca813798af89997441bc35723ed1995b6b269e1)
osx image used for builds, i.e. xcode7.3 is outdated, we
can switch to "default" xcode9.4 and use more fast brew
travis-ci plugin
Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <
20190311133620.18278-4-chipitsine@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18269.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit
2cae16aae55dd1ef2ae41c36bec752db34ab4695)
sudo: required
-dist: trusty
+dist: xenial
os: linux
- env: SSLLIB="openssl" OPENSSL_VERSION="1.1.0f"
os: linux
compiler: gcc
+ - env: SSLLIB="openssl" OPENSSL_VERSION="1.1.0h" LABEL="linux-ppc64le"
+ os: linux-ppc64le
+ compiler: gcc
- env: SSLLIB="openssl" CFLAGS="-fsanitize=address"
os: linux
compiler: clang
compiler: clang
- env: SSLLIB="openssl"
os: osx
- osx_image: xcode7.3
compiler: clang
- env: SSLLIB="mbedtls"
os: osx
- osx_image: xcode7.3
compiler: clang
- env: SSLLIB="openssl" CHOST=x86_64-w64-mingw32 OPENSSL_VERSION="1.0.1u"
os: linux
addons:
apt:
- packages:
- - liblzo2-dev
- - libpam0g-dev
- - liblz4-dev
- - linux-libc-dev
- - man2html
+ update: true
+ packages: [ liblzo2-dev, libpam0g-dev, liblz4-dev, linux-libc-dev, man2html, mingw-w64]
+ homebrew:
+ packages: [ lzo ]
cache:
directories:
- ${HOME}/opt
- ${HOME}/Library/Caches/Homebrew
-before_install:
- - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew update ; fi
- - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew install lzo; fi
-
install:
- if [ ! -z "${CHOST}" ]; then unset CC; fi
- .travis/build-deps.sh > build-deps.log 2>&1 || (cat build-deps.log && exit 1)
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