diff options
author | Emilia Kasper <emilia@openssl.org> | 2016-11-09 17:25:35 +0100 |
---|---|---|
committer | Emilia Kasper <emilia@openssl.org> | 2016-11-24 12:21:33 +0100 |
commit | ab29eca645cdb38ffe73d141bbd7c6879b602860 (patch) | |
tree | 1cccc80b4e3b6527713a621a37e7fccf281c77c7 /.travis.yml | |
parent | a1fd1fb241069cc987d0d2cf13880bd16cada3c9 (diff) |
Run BoringSSL tests on Travis
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index b117f0ef74..90553c734c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,8 @@ addons: - ccache - clang-3.6 - gcc-5 + - g++-5 + - golang - binutils-mingw-w64 - gcc-mingw-w64 sources: @@ -39,8 +41,8 @@ matrix: compiler: clang-3.6 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-nextprotoneg enable-weak-ssl-ciphers" COVERALLS="yes" + 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" COVERALLS="yes" BORINGSSL_TESTS="yes" CXX="g++-5" - os: linux compiler: clang-3.6 env: CONFIG_OPTS="enable-msan" @@ -100,11 +102,9 @@ script: else make="make"; fi + - top=${PWD} - if [ -n "$DESTDIR" ]; then cd _build; - top=..; - else - top=.; fi - $make update - $make @@ -113,13 +113,13 @@ script: sudo apt-get -yq --no-install-suggests --no-install-recommends --force-yes install wine; export EXE_SHELL="wine" WINEPREFIX=`pwd`; fi; - HARNESS_VERBOSE=yes make test; + HARNESS_VERBOSE=yes BORING_RUNNER_DIR=$top/boringssl/ssl/test/runner make test; else $make build_tests; fi - if [ -n "$DESTDIR" ]; then - mkdir "../$DESTDIR"; - $make install install_docs DESTDIR="../$DESTDIR"; + mkdir "$top/$DESTDIR"; + $make install install_docs DESTDIR="$top/$DESTDIR"; fi - cd $top |