10 - if [ -n "$COVERALLS" ]; then
11 pip install --user cpp-coveralls;
13 - if expr "$CONFIG_OPTS" ":" ".*enable-external-tests" > /dev/null; then
14 git submodule update --init --recursive;
31 - CONFIG_OPTS="" DESTDIR="_install" TESTS="-test_fuzz"
32 - CONFIG_OPTS="no-asm -Werror --debug no-afalgeng no-shared enable-crypto-mdebug enable-rc5 enable-md2 enable-aria" TESTS="-test_fuzz"
33 - CONFIG_OPTS="no-asm --strict-warnings" BUILDONLY="yes" CHECKDOCS="yes"
44 - ubuntu-toolchain-r-test
46 env: CONFIG_OPTS="--strict-warnings enable-tls1_3" TESTS="-test_fuzz" COMMENT="Move to the BORINGTEST build when interoperable"
53 - llvm-toolchain-trusty-3.9
54 - ubuntu-toolchain-r-test
56 env: CONFIG_OPTS="--strict-warnings no-deprecated" BUILDONLY="yes"
63 compiler: i686-w64-mingw32-gcc
64 env: CONFIG_OPTS="no-stdio" BUILDONLY="yes"
72 - ubuntu-toolchain-r-test
74 env: EXTENDED_TEST="yes" CONFIG_OPTS="--debug --coverage no-asm enable-rc5 enable-md2 enable-aria enable-ec_nistp_64_gcc_128 enable-ssl3 enable-ssl3-method enable-nextprotoneg enable-weak-ssl-ciphers no-shared -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION" COVERALLS="yes" BORINGSSL_TESTS="yes" CXX="g++-5"
82 - ubuntu-toolchain-r-test
84 env: EXTENDED_TEST="yes" CONFIG_OPTS="--debug enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers enable-external-tests" BORINGSSL_TESTS="yes" CXX="g++-5" TESTS=95
91 - llvm-toolchain-trusty-3.9
92 - ubuntu-toolchain-r-test
94 env: EXTENDED_TEST="yes" CONFIG_OPTS="enable-msan"
101 - llvm-toolchain-trusty-3.9
102 - ubuntu-toolchain-r-test
104 env: EXTENDED_TEST="yes" CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 enable-aria enable-ssl3 enable-ssl3-method enable-nextprotoneg -fno-sanitize=alignment no-shared -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
111 - llvm-toolchain-trusty-3.9
112 - ubuntu-toolchain-r-test
114 env: EXTENDED_TEST="yes" CONFIG_OPTS="no-asm enable-asan enable-rc5 enable-md2 enable-aria no-shared -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
122 - ubuntu-toolchain-r-test
124 env: EXTENDED_TEST="yes" CONFIG_OPTS="--debug no-asm enable-ubsan enable-rc5 enable-md2 enable-aria -DPEDANTIC" OPENSSL_TEST_RAND_ORDER=0
131 compiler: i686-w64-mingw32-gcc
132 env: EXTENDED_TEST="yes" CONFIG_OPTS="no-pic" TESTS="-test_fuzz"
139 compiler: x86_64-w64-mingw32-gcc
140 env: EXTENDED_TEST="yes" CONFIG_OPTS="no-pic" TESTS="-test_fuzz"
149 - if [ "$TRAVIS_PULL_REQUEST" != "false" -a -n "$EXTENDED_TEST" ]; then
150 (git log -1 $TRAVIS_COMMIT_RANGE | grep '\[extended tests\]' > /dev/null) || exit 0;
152 - if [ -n "$DESTDIR" ]; then
153 sh .travis-create-release.sh $TRAVIS_OS_NAME;
154 tar -xvzf _srcdist.tar.gz;
163 - if [ "$CC" == i686-w64-mingw32-gcc ]; then
164 export CROSS_COMPILE=${CC%%gcc}; unset CC;
165 $srcdir/Configure mingw $CONFIG_OPTS -Wno-pedantic-ms-format;
166 elif [ "$CC" == x86_64-w64-mingw32-gcc ]; then
167 export CROSS_COMPILE=${CC%%gcc}; unset CC;
168 $srcdir/Configure mingw64 $CONFIG_OPTS -Wno-pedantic-ms-format;
170 if which ccache >/dev/null && [ "$CC" != clang-3.9 ]; then
173 $srcdir/config -v $CONFIG_OPTS;
178 - if [ -z "$BUILDONLY" ]; then
184 - if [ -n "$DESTDIR" ]; then
188 - if [ -n "$CHECKDOCS" ]; then
192 - if [ -z "$BUILDONLY" ]; then
193 if [ -n "$CROSS_COMPILE" ]; then
194 sudo dpkg --add-architecture i386;
196 sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install wine;
197 export EXE_SHELL="wine" WINEPREFIX=`pwd`;
199 if [ -e krb5/src ]; then
200 sudo apt-get -yq install bison dejagnu gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python-cjson python-paste python-pyrad slapd tcl-dev tcsh;
202 HARNESS_VERBOSE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test;
206 - if [ -n "$DESTDIR" ]; then
207 mkdir "$top/$DESTDIR";
208 $make install install_docs DESTDIR="$top/$DESTDIR";
213 - if [ -n "$COVERALLS" ]; then
214 coveralls -b . --gcov gcov-5 --gcov-options '\-lp';
219 secure: "xeGNgWO7aoaDgRvcZubposqMsj36aU8c6F0oHfw+rUqltCQ14IgYCUwzocmR2O+Pa7B3Cx5VjMfBFHbQaajZsfod8vu7g+aGq/zkjwbhsr/SR4dljJjFJXLGZjIalm9KgP6KInmVDuINfCqP+MHIY5lZkNI7DMcyHDhVc5nSKvCXV7xTDNgmstvh8rB/z51WfHDqGqfBtiuK5FDNxmvYK8OFJ5W94Lu9LDlizcxwK3GAj7arOui7Z5w8bQ6p4seUE3IvJL1Zbj0pZHxvNb6Zeb2Pn8QF1qLlN8YmBktD4aiw0ce4wYRiL87uLgcOxZY7SVXtv2XYFIYWapU/FKjCqa6vK93V/H9eZWEIYNMKnN3wXm2beqVdnKek3OeGJ8v0y7MbSfuLfRtBqbTSNYnpU1Zuo4MQAvHvEPuwCAYkYQajOSRplMH5sULFKptuVqNtOMfjL8jHb8AEoL1acYIk43ydxeYrzzas4fqgCDJ52573/u0RNdF1lkQBLkuM365OB8VRqtpnoxcdEIY/qBc/8TzZ24fxyrs5qdHFcxGSgpN2EP6cJMqpvkemnCNSdhxUqfzm22N7a3O8+4LFSBGOnHto/PwdsvF/01yGYL0LoZTnoO1i6x7AMJPBh+eyDU0ZjGhj/msjmqeb9C8vRqQ+1WjHrIS1iqCD0Czib8tUPD4="