summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2017-03-14 16:40:34 +0100
committerEmilia Kasper <emilia@openssl.org>2017-03-14 19:00:40 +0100
commit703324a7e7d471b2b31523f4b74805f9144771f9 (patch)
treeca0c631327e9e7229470f0c0e431a633e38f676b /.travis.yml
parentFix a -Wsign-compare warning (diff)
downloadopenssl-703324a7e7d471b2b31523f4b74805f9144771f9.tar.xz
openssl-703324a7e7d471b2b31523f4b74805f9144771f9.zip
Update master Travis to Trusty
This gets us a newer Clang, and newer Go. 1.1.0 already runs on Trusty without issues. To do this, we need to disable afalgeng in the -Werror build. afalgeng isn't compatible with the -Werror build on Travis Trusty due to kernel header mismatch. (See also 97043e46aa7083c787a1efd72ac31ca97ed41610) Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml35
1 files changed, 20 insertions, 15 deletions
diff --git a/.travis.yml b/.travis.yml
index 04a29f83b3..3170b6199b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,6 @@
+dist: trusty
+sudo: required
+
language: c
cache: ccache
@@ -10,7 +13,7 @@ addons:
apt:
packages:
- ccache
- - golang
+ - golang-1.6
os:
- linux
@@ -21,7 +24,7 @@ compiler:
env:
- CONFIG_OPTS="" DESTDIR="_install" TESTS="-test_fuzz"
- - CONFIG_OPTS="no-asm -Werror --debug no-shared enable-crypto-mdebug enable-rc5 enable-md2" TESTS="-test_fuzz"
+ - CONFIG_OPTS="no-asm -Werror --debug no-afalgeng no-shared enable-crypto-mdebug enable-rc5 enable-md2" TESTS="-test_fuzz"
- CONFIG_OPTS="no-asm --strict-warnings" BUILDONLY="yes" CHECKDOCS="yes"
matrix:
@@ -40,11 +43,11 @@ matrix:
addons:
apt:
packages:
- - clang-3.6
+ - clang-3.9
sources:
- - llvm-toolchain-precise-3.6
+ - llvm-toolchain-trusty-3.9
- ubuntu-toolchain-r-test
- compiler: clang-3.6
+ compiler: clang-3.9
env: CONFIG_OPTS="--strict-warnings no-deprecated" BUILDONLY="yes"
- os: linux
addons:
@@ -68,31 +71,31 @@ matrix:
addons:
apt:
packages:
- - clang-3.6
+ - clang-3.9
sources:
- - llvm-toolchain-precise-3.6
+ - llvm-toolchain-trusty-3.9
- ubuntu-toolchain-r-test
- compiler: clang-3.6
+ compiler: clang-3.9
env: EXTENDED_TEST="yes" CONFIG_OPTS="enable-msan"
- os: linux
addons:
apt:
packages:
- - clang-3.6
+ - clang-3.9
sources:
- - llvm-toolchain-precise-3.6
+ - llvm-toolchain-trusty-3.9
- ubuntu-toolchain-r-test
- compiler: clang-3.6
+ compiler: clang-3.9
env: EXTENDED_TEST="yes" CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-nextprotoneg -fno-sanitize=alignment no-shared -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
- os: linux
addons:
apt:
packages:
- - clang-3.6
+ - clang-3.9
sources:
- - llvm-toolchain-precise-3.6
+ - llvm-toolchain-trusty-3.9
- ubuntu-toolchain-r-test
- compiler: clang-3.6
+ compiler: clang-3.9
env: EXTENDED_TEST="yes" CONFIG_OPTS="no-asm enable-asan enable-rc5 enable-md2 no-shared -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
- os: linux
addons:
@@ -149,7 +152,7 @@ before_script:
export CROSS_COMPILE=${CC%%gcc}; unset CC;
$srcdir/Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format;
else
- if which ccache >/dev/null && [ "$CC" != clang-3.6 ]; then
+ if which ccache >/dev/null && [ "$CC" != clang-3.9 ]; then
CC="ccache $CC";
fi;
$srcdir/config -v $CONFIG_OPTS;
@@ -173,6 +176,8 @@ script:
- $make
- if [ -z "$BUILDONLY" ]; then
if [ -n "$CROSS_COMPILE" ]; then
+ sudo dpkg --add-architecture i386;
+ sudo apt-get update;
sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install wine;
export EXE_SHELL="wine" WINEPREFIX=`pwd`;
fi;