summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2017-01-25 15:32:41 +0100
committerEmilia Kasper <emilia@openssl.org>2017-01-27 11:51:52 +0100
commita884c91d76db2eadd34f96936ccf029659dd5942 (patch)
treea1d18c8bd00a6199d43ef8aab82fbaa7bc565f0b /.travis.yml
parent89d0853a7fe12d6ae79d148425717fed740ae136 (diff)
Travis: run on Trusty with clang 3.9 (1.1.0 branch)
See https://github.com/travis-ci/travis-ci/issues/6460 for context on the changes to wine install. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml31
1 files changed, 21 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index fa7e2119d7..e848fc7b75 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,6 @@
+dist: trusty
+sudo: required
+
language: c
cache: ccache
@@ -8,13 +11,12 @@ addons:
apt:
packages:
- ccache
- - clang-3.6
+ - clang-3.9
- gcc-5
- binutils-mingw-w64
- gcc-mingw-w64
- - wine
sources:
- - llvm-toolchain-precise-3.6
+ - llvm-toolchain-trusty-3.9
- ubuntu-toolchain-r-test
os:
@@ -35,25 +37,25 @@ env:
matrix:
include:
- os: linux
- compiler: clang-3.6
+ compiler: clang-3.9
env: CONFIG_OPTS="--strict-warnings no-deprecated" BUILDONLY="yes"
- os: linux
compiler: gcc
env: CONFIG_OPTS="--debug --coverage no-asm enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers" COVERALLS="yes"
- os: linux
- compiler: clang-3.6
+ compiler: clang-3.9
env: CONFIG_OPTS="enable-asan"
- os: linux
- compiler: clang-3.6
+ compiler: clang-3.9
env: CONFIG_OPTS="enable-msan"
- os: linux
- compiler: clang-3.6
+ compiler: clang-3.9
env: CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method -fno-sanitize=alignment"
- os: linux
- compiler: clang-3.6
+ compiler: clang-3.9
env: CONFIG_OPTS="no-asm enable-asan enable-rc5 enable-md2"
- os: linux
- compiler: clang-3.6
+ compiler: clang-3.9
env: CONFIG_OPTS="no-stdio"
- os: linux
compiler: gcc-5
@@ -95,11 +97,20 @@ 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;
fi
+ - if [ -z "$BUILDONLY" ]; then
+ if [ -n "$CROSS_COMPILE" ]; then
+ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
+ sudo dpkg --add-architecture i386;
+ sudo apt-get update;
+ sudo apt-get -yq install wine;
+ fi;
+ fi;
+ fi
- cd $top
script: