summaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)Author
2018-09-18Travis: use the Homebrew addonteor
Use the Travis Homebrew addon to install packages on macOS. The package list is the same, but the Homebrew addon does not do a `brew update` by default. This makes builds faster, at the cost of using slightly older packages. Implements ticket 27738.
2018-09-11Merge remote-tracking branch 'teor/ticket27252-029' into maint-0.2.9Nick Mathewson
2018-09-05Merge remote-tracking branch 'teor/bug27418-029' into maint-0.2.9Nick Mathewson
2018-09-05Travis: don't call echo with a --flag as the first argumentteor
When we use echo in Travis, don't pass a --flag as the first argument. Fixes bug 27418; bugfix on 0.3.4.7-rc.
2018-09-05Travis: when showing a log fails, keep trying to show other logsteor
When a Travis build fails, and showing a log fails, keep trying to show the other logs. Fixes bug 27453; bugfix on 0.3.4.7-rc.
2018-08-23Travis: Skip gcc on Linux with default settingsteor
It's redundant, because all the non-default builds use gcc on Linux. Part of 27252.
2018-08-23Travis: make the exclude descriptions shorterteor
Part of 27252.
2018-08-23Travis: Skip a duplicate hardening-off build in Tor 0.2.9teor
Part of 27252.
2018-08-23Travis: skip gcc on OSX, because the default compiler is clangteor
Part of #27252.
2018-08-10Travis: add a missing macOS asciidoc env varteor
2018-08-10Travis: add a missing macOS asciidoc dependencyteor
2018-08-10Travis: put distcheck first for readabilityteor
2018-08-10Travis: fix a typoteor
2018-08-09Travis: list installed package versions before buildingteor
Part of 24629.
2018-08-09Travis: run an asciidoc buildteor
Implements 27087.
2018-08-09Travis: Use ccacheteor
Part of ticket 26952.
2018-08-09Travis: make macOS builds work for Tor 0.2.9teor
Tor 0.2.9 needs extra help to find OpenSSL on macOS. Part of 24629.
2018-08-09Travis: create configure flags once, then echo the flagsteor
Creating the configure flags once avoids inconsistent flags between configure and distcheck configure. Echoing the flags helps developers work out what configure is doing. (Backported to 0.2.9 and later as a precaution.) Fixes 27088 on 0.3.4.1-alpha, adds logging in previous releases.
2018-08-09Travis: enable macOS buildsteor
Also: * explain why we don't install zlib Part of 24629.
2018-08-09Travis: Rewrite .travis.ymlteor
Build on all compilers: * default options + hardening Build on gcc: * coverage (+ no hardening) * distcheck * no hardening Add some extra logging: * tail config.log on failure (config.log is too long for travis to render) Put the config in a more logical order * Sort config items in chronological order * Put related items together Part of 24629.
2018-08-09Add more optional packages to TravisTaylor Yu
Apparently we weren't building with either libcap or libseccomp on Travis. Install libcap-dev and libseccomp-dev in .travis.yml. Closes ticket 26560.
2018-04-26Show test-suite.log for distcheck on Travis CITaylor Yu
When Travis CI runs make distcheck, test-suite.log doesn't exist in the expected place. Add a new make target to show this file and use it when DISTCHECK=yes in .travis.yml. Fixes bug 25814; bug not in any released Tor.
2018-04-18Add distcheck support to travis configuration.Nick Mathewson
Implements 25814.
2018-04-16Add support for the coveralls.io coverage tool in travis configNick Mathewson
Closes ticket 25818.
2018-03-19Merge branch 'maint-0.2.5' into maint-0.2.9Nick Mathewson
2018-03-01Document how to allow partial Travis failuresTaylor Yu
Add some commented-out allow_failures clauses to make it easier to temporarily allow less-critical sub-builds to fail while still reporting success.
2018-01-19Merge branch 'maint-0.2.5' into maint-0.2.9Nick Mathewson
2018-01-17Work around Travis CI ptrace regressionTaylor Yu
Travis CI deployed a change that disables ptrace capabilities in container builds, which prevents LeakSanitizer on clang from working properly. Set "sudo: required" to force non-container builds for clang and work around this.
2017-07-26Merge branch 'maint-0.2.8' into maint-0.2.9Nick Mathewson
2017-07-26Point travis to #tor-ci, not #tor-botsNick Mathewson
2017-07-26Travis update: "gcc-warnings" became "fatal-warnings" in 0.2.9Nick Mathewson
2017-07-25In < 0.2.9.x, --enable-fatal-warnings was --enable-gcc-warnings.Isis Lovecruft
2017-07-25Builds on CI should use --enable-fragile-hardening.Isis Lovecruft
(cherry picked from commit c91a57ccf90308c6728184b43519f96b61acb95d)
2017-07-25Install optional dependencies during Travis CI builds.Isis Lovecruft
(cherry picked from commit 1bb00fb812c0df7a574ed62e9f53b0e8192c7d04)
2017-07-25Fix CI homebrew checks for outdated packages.Isis Lovecruft
(cherry picked from commit 8f8689f70235dc19cbc5092ea148af5772a9cdc3)
2017-07-17Fix and expand upon our Travis CI configuration.Isis Lovecruft
* CHANGE .travis.yml so that commands for different purposes (e.g. getting dependencies, building, testing) are in separate config lines and sections. * CHANGE .travis.yml to use their mechanism for installing dependencies via apt. [0] This also allows us to not need sudo (the "sudo: false" line). * CHANGE Travis CI tests (the "script:" section) to build and run tests in the same manner as Jenkins (i.e. with --enable-fatal-warnings and --disable-silent-rules and run `make check`). * ADD Travis configuration to do all the target builds with both GCC and clang. * ADD make flags to build with both of the cores available. * ADD notifications for IRC, and configure email notifications (to the author of the commit) only if the branch was previously building successfully and the latest commit broke it. * ADD the ability to run the Travis build matrix for OSX as well, but leave it commented out by default (because it takes roughly ten times longer, due to a shortage of OSX build machines). * ADD Travis config option to cancel/fail the build early if one target has already failed ("fast_finish: true"). * ADD comments to describe what our Travis config is doing and why it is configured that way. [0]: https://docs.travis-ci.com/user/installing-dependencies/#Installing-Packages-on-Container-Based-Infrastructure)
2017-07-13.travis.yml to run test suitePatrick O'Doherty
Installs dependencies (including rust) and runs the existing test suite. TODO: Introduce build matrix utilizing the rust toolchain to run test suites both with and without the rust components.