summaryrefslogtreecommitdiffstats
path: root/.travis.yml
AgeCommit message (Collapse)Author
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>
2016-03-08Only enable ccache if it's availableRichard Levitte
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-03-08Use ccache for the unified buildsRichard Levitte
This may speed up our builds considerably Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-03-08For unified builds, make a separate build directory and build thereRichard Levitte
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-03-08We've switch to unified build scheme by default, reflect it in travisRichard Levitte
We want to preserve a couple of classic builds still, the quickest is to change all --unified to --classic Reviewed-by: Matt Caswell <matt@openssl.org>
2016-03-07Trim Travis config part 3Emilia Kasper
- Only build & test two configurations. Make all the other build variants buildonly on gcc (clang on osx). - Don't build with default clang at all on linux. - Only use gcc-5 and clang-3.6 for the sanitizer builds. Re-running e.g. CONFIG_OPTS="shared" with them seems redundant. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-07Restore some mingw buildsEmilia Kasper
"no-pic" builds have in fact been green (and reasonably fast), so restore them while we figure out why tests without "no-pic" hang. Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-03-07Trim Travis config part 2Emilia Kasper
- Remove Win builds (temporarily). They're slow, allowed to fail, and therefore not useful as they are. - Make the --unified part of the matrix build-only. (This can be swapped if --unified becomes the default) - Only build 'no-engine' once, don't run any tests, but don't allow it to fail. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-06Trim the Travis configEmilia Kasper
- Remove no-asm. We've got to cut something, and this is at least partially covered by the sanitizer builds. - Remove enable-crypto-mdebug from sanitizer builds. enable-crypto-mdebug has been shown to catch some static initialization bugs that the standard leak sanitizer can't so perhaps it has _some_ value; but we shouldn't let the two compete. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-26Don't build sanitizer builds with --debugEmilia Kasper
They're too slow. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-25Add some 'no-engine' builds to travis, for testFdaSilvaYY
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-22Add a "no-pic" build for TravisRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-12.travis.yml: exclude gcc from MacOS X CI builds.Andy Polyakov
Contemporary Xcode gcc is a front-end to clang, so that explicit gcc build is actually redundant on MacOS X. Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-12Now that we have good verbosity, turn it on for TravisRichard Levitte
It's nearly impossible to determine what goes wrong in the tests running there without this. Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-02-10unified build scheme: add instructions for travis to build with --unifiedRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-01-28Add more components to build.Rich Salz
Add enable-crypto-mdebug enable-rc5 enable-md2 to any target that was --strict-warnings. Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-12-08Adapt the OS X build to use the OS X tarRichard Levitte
As part of this, move release creation to a script to be called from .travis.yml. That makes it much easier to test outside of travis. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-12-07In travis, build from a "source release" rather than from the build treeRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-11-21Add no-asm builds to TravisAlessandro Ghedini
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-11-21Add Travis builds with undefined behavior sanitizerAlessandro Ghedini
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-10-16Run tests on Travis for mingw builds as wellRich Salz
Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Andy Polyakov <appro@openssl.org>
2015-10-13Add Clang 3.6 and additional GCC 5 builds to travisAlessandro Ghedini
Follow-up to f386742. Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org>