summaryrefslogtreecommitdiffstats
path: root/.travis.yml
AgeCommit message (Collapse)Author
2017-03-14.travis.yml: make git submodule update conditional.Andy Polyakov
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
2017-03-14Update master Travis to TrustyEmilia Kasper
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>
2017-02-24.travis.yml: introduce concept of "extended tests"Andy Polyakov
Since CI is engaged on per merge request basis, it can be wasteful to run each request through all the tests, especially those resource consuming. Idea is to mark most of tests as "extended" and provide a way to opt-in by marking last commit with [extended tests] tag. It's still not as optimal as one could wish, as decision to skip a test still requires machine time, and it's taken in configured environment, i.e. with updates and additional packages installed... Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2292)
2017-02-24.travis.yml: make package pulls conditional.Andy Polyakov
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2292)
2017-02-19.travis.yml: remove osx from build matrix.Andy Polyakov
Travis OS X utilization and backlog statistics suggest that it became bottleneck for our integration builds with requests piling up for days during working days of the week. Suggestion is to remove osx till capacity is lesser issue. Reviewed-by: Richard Levitte <levitte@openssl.org>
2017-02-14Add no-ec buildRich Salz
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2626)
2017-01-12Review comments; fail build if nits foundRich Salz
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2202)
2017-01-12Run find-doc-nits in travisRichard Levitte
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2202)
2016-12-21Travis: The TLS 1.3 code isn't interoperable yet, move it to its own buildRichard Levitte
We should move it back to the BORINGTEST build when we are approaching interoperability. Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2123)
2016-12-16Enable TLS1.3 and PEDANTIC in the coverage targetKurt Roeckx
This make sure that the coverage is the same for the fuzzers and this coverage target Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #2088
2016-12-05travis: Use no-shared for the FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION targetsKurt Roeckx
Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #2025
2016-12-03Run a some tests with -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTIONKurt Roeckx
The fuzzers use -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION, and actually get different results based on that. We should have at least some targets that actually fully use the fuzz corpora. Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #2023
2016-11-24coveralls: Use gcov-5 since we build it using gcc-5Kurt Roeckx
Reviewed-by: Emilia Käsper <emilia@openssl.org> GH: #2003
2016-11-24Run BoringSSL tests on TravisEmilia Kasper
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-11-04Travis: add a strict buildRichard Levitte
Clang on Linux seems to catch things that we might miss otherwise. Also, throw in 'no-deprecated' to make sure we test that as well. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1839)
2016-11-02Secure our notification email.Richard Levitte
Forks will have to define their own Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1821)
2016-11-01Revert "Disable MDC2 by default."Rich Salz
This reverts commit ca1574cec20589885000d039eed3a9375fb29a0d. Not suitabled for a minor release as it breaks the ABI. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-10-31Disable MDC2 by default.Rich Salz
Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2016-10-24Add NPN to an SSL3 buildRich Salz
Reviewed-by: Emilia Käsper <emilia@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1629)
2016-10-11.travis.yml: minor optimizations:Andy Polyakov
- make 'pip install --user cpp-coveralls' conditional; - limit no-stdio to single build per operating environment; - omit enable-asan duplicate; Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-10-11.travis.yml: install wine on demand.Andy Polyakov
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-09-08Travis: Do asan and msan with shared librariesRichard Levitte
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-08-16Add a "config" for verbosity and use it with TravisRichard Levitte
Modify VMS config.com to match Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-08-16Make "make" less verbose in Travis, except for the build only caseRichard Levitte
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-08-05Travis: add a build with no-stdioRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-08-05Add --gcov-options '\-lp' to coverageEmilia Kasper
Should result in more accurate header file coverage, see https://github.com/eddyxu/cpp-coveralls/issues/54 Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2016-08-05Add a coverage targetEmilia Kasper
Run tests with coverage and report to coveralls.io For simplicity, this currently only adds a single target in a configuration that attempts to maximize coverage. The true CI coverage from all the various builds may be a little larger. The coverage run has the following configuration: - no-asm: since we can't track asm coverage anyway, might as well measure the non-asm code coverage. - Enable various disabled-by-default options: - rc5 - md2 - ec_nistp_64_gcc_128 - ssl3 - ssl3-method - weak-ssl-ciphers Finally, observe that no-pic implies no-shared, and therefore running both builds in the matrix is redundant. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2016-08-04Travis: When testing installation, build in separate dir, otherwise in checkoutRichard Levitte
The rationale is that installation from a tarball is a common task that everyone performs. For all other builds, we do specialised tests, and might as well build them directly in the checkout, which also gives us fuzz corpora. Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-07-28Add memory sanitizer config, and run on travis.Emilia Kasper
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-07-19Have the Travis builds do a "make update"Richard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-07-18Ensure Travis tests SSLv3Matt Caswell
Switch on Travis testing of SSLv3. Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-06-30Restore clang builds in travis.ymlRich Salz
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-06-21Travis: When testing install, install docs as wellRichard Levitte
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-06-20Avoid using latest clang since repo not availableRich Salz
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-06-14(Temporarily) don't download clang packageRich Salz
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-05-30Travis: update sanitizer configsEmilia Kasper
- Use the new enable-ubsan and enable-asan configuration options. - Separate ubsan and asan runs. - In addition, run shared ubsan tests to get more coverage. (Shared asan tests need a bit more thought to get them working.) Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-05-03Try 'make install' with one of the Travis configurationsRichard Levitte
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-20Travis: _srcdist, not _srcdirRichard Levitte
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-04-20Remove --classic build entirelyRichard Levitte
The Unix build was the last to retain the classic build scheme. The new unified scheme has matured enough, even though some details may need polishing. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-14Update Travis and Appveyor for change to shared by defaultMatt Caswell
Update the Travis and Appveyor builds to explicitly state no-shared where applicable. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-10Disable some sanitizer checks without PEDANTICEmilia Kasper
Code without PEDANTIC has intentional "undefined" behaviour. To get best coverage for both PEDANTIC and non-PEDANTIC codepaths, run the sanitizer builds in two different configurations: 1) Without PEDANTIC but with alignment checks disabled. 2) With PEDANTIC. To not overload Travis too much, run one build with clang and the other with gcc (chosen at random). Also remove a micro-optimization in CAST code to be able to -fsanitize=shift. Whether shift sanitization is meaningful for crypto or an obstacle is debatable but since this appears to be the only offender, we might as well keep the check for now. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-04-10Adjust --strict-warnings builds in TravisEmilia Kasper
In Travis, do --strict-warnings on BUILDONLY configurations. This ensures that the tests run even if --strict-warnings fail, and avoids hiding unrelated test failures. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-14Travis: build tests in BUILDONLY modeEmilia Kasper
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-12Workaround for false -Warray-bounds in TravisEmilia Kasper
ccache + clang produces a false strcmp warning, see https://llvm.org/bugs/show_bug.cgi?id=20144 Since this only happens with ccache and --strict-warnings, and only with certain versions of glibc / clang, disabling ccache is a reasonable short-term workaround. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-10Travis - add missing semi-colonRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-10Travis - don't use ccache with cross compilesRichard Levitte
Although theoretically possible, Configure doesn't treat CC variable set like this very well: CC="ccache i686-w64-mingw32-gcc" Also, this Travis script doesn't recognise the possibility either. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-03-10Travis - the source directory is _srcdist, not _srcdirRichard Levitte
Reviewed-by: Stephen Henson <steve@openssl.org>
2016-03-09When grepping something starting with a dash, remember to use -eRichard Levitte
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-03-09Restore building out of source with the unified build schemeRichard Levitte
Reviewed-by: Matt Caswell <matt@openssl.org>
2016-03-08Fix travis buildsRichard Levitte
Travis doesn't seem to know about 'expr' Reviewed-by: Emilia Käsper <emilia@openssl.org>