提交 31c1db92 编写于 作者: A Andy Polyakov

.travis.yml: make package pulls conditional.

Reviewed-by: NRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2292)
上级 01b76c2c
...@@ -10,15 +10,7 @@ addons: ...@@ -10,15 +10,7 @@ addons:
apt: apt:
packages: packages:
- ccache - ccache
- clang-3.6
- gcc-5
- g++-5
- golang - golang
- binutils-mingw-w64
- gcc-mingw-w64
sources:
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test
os: os:
- linux - linux
...@@ -38,33 +30,99 @@ env: ...@@ -38,33 +30,99 @@ env:
matrix: matrix:
include: include:
- os: linux - os: linux
addons:
apt:
packages:
- clang-3.6
sources:
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test
compiler: clang-3.6 compiler: clang-3.6
env: CONFIG_OPTS="--strict-warnings no-deprecated" BUILDONLY="yes" env: CONFIG_OPTS="--strict-warnings no-deprecated" BUILDONLY="yes"
- os: linux - os: linux
addons:
apt:
packages:
- gcc-5
- g++-5
sources:
- ubuntu-toolchain-r-test
compiler: gcc-5 compiler: gcc-5
env: CONFIG_OPTS="--debug --coverage no-asm enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-ssl3 enable-ssl3-method enable-nextprotoneg enable-weak-ssl-ciphers enable-external-tests no-shared -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION" COVERALLS="yes" BORINGSSL_TESTS="yes" CXX="g++-5" env: CONFIG_OPTS="--debug --coverage no-asm enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-ssl3 enable-ssl3-method enable-nextprotoneg enable-weak-ssl-ciphers enable-external-tests no-shared -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION" COVERALLS="yes" BORINGSSL_TESTS="yes" CXX="g++-5"
- os: linux - os: linux
addons:
apt:
packages:
- clang-3.6
sources:
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test
compiler: clang-3.6 compiler: clang-3.6
env: CONFIG_OPTS="enable-msan" env: CONFIG_OPTS="enable-msan"
- os: linux - os: linux
addons:
apt:
packages:
- clang-3.6
sources:
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test
compiler: clang-3.6 compiler: clang-3.6
env: 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" env: 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 - os: linux
addons:
apt:
packages:
- clang-3.6
sources:
- llvm-toolchain-precise-3.6
- ubuntu-toolchain-r-test
compiler: clang-3.6 compiler: clang-3.6
env: CONFIG_OPTS="no-asm enable-asan enable-rc5 enable-md2 no-shared -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION" env: CONFIG_OPTS="no-asm enable-asan enable-rc5 enable-md2 no-shared -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
- os: linux - os: linux
addons:
apt:
packages:
- gcc-5
- g++-5
sources:
- ubuntu-toolchain-r-test
compiler: gcc-5 compiler: gcc-5
env: CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 -DPEDANTIC" env: CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 -DPEDANTIC"
- os: linux - os: linux
addons:
apt:
packages:
- gcc-5
- g++-5
sources:
- ubuntu-toolchain-r-test
compiler: gcc-5 compiler: gcc-5
env: CONFIG_OPTS="--strict-warnings enable-tls1_3" COMMENT="Move to the BORINGTEST build when interoperable" env: CONFIG_OPTS="--strict-warnings enable-tls1_3" COMMENT="Move to the BORINGTEST build when interoperable"
- os: linux - os: linux
addons:
apt:
packages:
- binutils-mingw-w64
- gcc-mingw-w64
compiler: i686-w64-mingw32-gcc compiler: i686-w64-mingw32-gcc
env: CONFIG_OPTS="no-stdio" BUILDONLY="yes" env: CONFIG_OPTS="no-stdio" BUILDONLY="yes"
- os: linux - os: linux
addons:
apt:
packages:
- binutils-mingw-w64
- gcc-mingw-w64
- wine
compiler: i686-w64-mingw32-gcc compiler: i686-w64-mingw32-gcc
env: CONFIG_OPTS="no-pic" env: CONFIG_OPTS="no-pic"
- os: linux - os: linux
addons:
apt:
packages:
- binutils-mingw-w64
- gcc-mingw-w64
- wine
compiler: x86_64-w64-mingw32-gcc compiler: x86_64-w64-mingw32-gcc
env: CONFIG_OPTS="no-pic" env: CONFIG_OPTS="no-pic"
exclude: exclude:
...@@ -116,7 +174,6 @@ script: ...@@ -116,7 +174,6 @@ script:
- $make - $make
- if [ -z "$BUILDONLY" ]; then - if [ -z "$BUILDONLY" ]; then
if [ -n "$CROSS_COMPILE" ]; then if [ -n "$CROSS_COMPILE" ]; then
sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install wine;
export EXE_SHELL="wine" WINEPREFIX=`pwd`; export EXE_SHELL="wine" WINEPREFIX=`pwd`;
fi; fi;
HARNESS_VERBOSE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test; HARNESS_VERBOSE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册