aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)Author
2019-10-29Merge remote-tracking branch 'tor-github/pr/1460' into maint-0.2.9teor
2019-10-25Travis: Use Ubuntu Bionic, but keep Trusty for chutneyteor
Bionic has a recent coccinelle version, which passes our CI tests. But Bionic (and Xenial) cause permissions errors for chutney. We'll fix those in 32240. Part of 31919.
2019-10-24Travis: Use macOS 10.14 with Xcode 11.2teor
Closes ticket 32241.
2019-10-23Merge remote-tracking branch 'tor-github/pr/1351' into maint-0.2.9teor
2019-10-22Travis: Disable all but one macOS buildteor
We need to mitigate slow scheduling of Travis macOS jobs. Closes ticket 32177.
2019-09-30Travis: Add a macOS chutney job, but don't wait for it to finishteor
Since Travis macOS has IPv6 support (and Travis Linux does not), chutney will now run its IPv6 networks as part of Travis CI. But since chutney is slow, don't wait for the macOS chutney to finish. (Travis have fixed the duplicate notification bug in fast_finish. So we can use fast_finish and allow_failure to finish early. Unfortunately, allow_failure also means we ignore failures in macOS chutney.) Also make sure that we have: * a compile on each platform, with each compiler, * a check on each platform, and * a check on each compiler. Finally, sort builds: allow fail last, macOS first, slowest first. Closes ticket 30860. Closes ticket 31859 for 0.2.9.
2019-09-30Travis: Remove a redundant clang Linux jobteor
Part of 31859.
2019-09-26Travis: Unroll the build matrix into matrix: include:teor
The jobs should be the same, but Travis may display them differently. Part of 31859.
2019-09-23Try using make -k in Travis configurationNick Mathewson
Frequently, when a patch fails, it has failures in several files. Using the "-k" flag will let us learn all the compilation errors, not just the first one that the compiler hits. Based on a patch by rl1987.
2019-08-08Merge remote-tracking branch 'tor-github/pr/1155' into maint-0.2.9teor
2019-07-01Travis: remove a redundant os: linux lineteor
Linux is the first item in the os matrix, so we don't need to specify it under matrix: include: . Part of 29280.
2019-07-01Travis: show the chutney commit and python versionteor
Part of 29280.
2019-07-01Travis: show chutney logs on chutney job failureteor
Part of 29280.
2019-06-12Add a chutney mode to travis.yml.Nick Mathewson
2019-06-12Travis: control "make check" with its own flagNick Mathewson
Previously we had "make check" launched whenever DISTCHECK was false. Now we'd like to turn it off in a few other circumstances, like running chutney. Maybe stem too?
2019-04-30Travis: remove sudo configurationrl1987
See: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2019-04-01Makefile: delete all the gcov-related files in reset-gcovteor
And fix a comment. See: https://gcc.gnu.org/onlinedocs/gcc/Gcov-Data-Files.html#Gcov-Data-Files
2019-03-20Handle errors from coveralls more gracefully.Alexander Færøy
Since we have moved coveralls to the script target the entire build will now fail if coveralls fail. We handle it more gracefully by echo'ing the failure instead of doing a hard-failure. See: https://bugs.torproject.org/29036
2019-03-20Run `make reset-gcov` after the script target in Travis CI is done.Alexander Færøy
This should ensure that GCDA files are never entering the cache of Travis CI. See: https://bugs.torproject.org/29036
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