Commit Graph

44 Commits

Author SHA1 Message Date
Patrick Steinhardt
0334bf4b24 travis: do not allow valgrind failures
Our valgrind jobs haven't been failing for several builds by now.
This indicates that our tests are sufficiently stable when
running under valgrind. As such, any failures reported by
valgrind become interesting to us and shouldn't be ignored when
causing a build to fail.

Remove the valgrind job from the list of allowed failures.
2016-10-31 16:01:10 +01:00
Carlos Martín Nieto
b1093e62d5 Remove CI support for mingw32
The tests have never run successfully and we do have successful builds
of mingw-w64, so remove these CI builds which do not add value.
2016-03-14 11:05:58 +01:00
Edward Thomson
da03356044 travis ci: enable debug pool for valgrind builds 2016-02-28 11:34:36 -05:00
Arthur Schreiber
b48dfe0bbe Always install valgrind via the apt addon. 2015-06-27 14:54:19 +02:00
Arthur Schreiber
76d7c359af Fast builds? 2015-06-26 17:58:45 +02:00
Carlos Martín Nieto
ca183d2736 travis: build maint branches 2015-05-22 17:44:28 +02:00
Philip Kelley
8f426d7dd2 Win32: Enable WinHTTP for MinGW 2015-03-16 12:59:55 -07:00
Edward Thomson
feb0e02286 tests: separate INVASIVE filesystem tests
Introduce GITTEST_INVASIVE_FS_STRUCTURE for things that are invasive
to your filesystem structure (like creating folders at your filesystem
root) and GITTEST_INVASIVE_FS_SIZE for things that write lots of data.
2015-02-19 12:14:06 -05:00
Carlos Martín Nieto
1dbb74baf2 Travis: do non-threadsafe builds
When flipping the default to threadsafe, we never made sure that the
tests were building non-threadsafe variants. Specify which thead-safety
we want for each.
2014-11-22 18:46:17 +01:00
Carlos Martín Nieto
60f3e876c5 Travis: move the valgrind run to allowed_failures
We don't need to know the result of the travis run before determining
whether we want to consider the merge as successful.
2014-11-22 18:42:00 +01:00
Carlos Martín Nieto
6340e8f5d0 travis: another attempt at multiple allowed failures
It looks like what Travis wants is a list of hashes, rather than a hash
with a list.
2014-09-17 15:52:01 +02:00
Carlos Martín Nieto
5c22c4a205 travis: fix allowed failures list 2014-09-17 15:35:15 +02:00
Carlos Martín Nieto
570452e31a travis: run valgrind only once
Instead of running valgrind on each job, half of which are in release
mode and don't have much usable information for valgrind, perform an
debug build as part of allowed_failures and run valgrind on that one,
which should speed up the feedback we get from the builds.
2014-09-16 17:38:03 +02:00
Carlos Martín Nieto
c61dc1a92e travis: build the master branch
We need to tell Travis to build the master branch or it won't build it
or the pull requests.
2014-06-25 17:12:44 +02:00
Carlos Martín Nieto
7230330740 travis: build on osx too 2014-05-21 14:43:44 +02:00
Carlos Martín Nieto
f5fc63bc0c Don't exclude libssh2 from MinGW
It reportedly works. It does not however work when cross-compiling on
Travis, so let's disable it there.

This fixes #2311.
2014-04-30 11:15:41 +02:00
Ben Straub
f1c16d0eb3 Tweak travis secure config 2014-01-13 15:18:13 -08:00
Ben Straub
9bf17d2cf5 Add coverity-scan script 2014-01-13 14:11:14 -08:00
nulltoken
90a8ad63e3 ci: Make Valgrind run on Travis 2013-08-19 00:18:44 +02:00
Carlos Martín Nieto
5be622fb56 Test SSH in travis
Set up the ssh credentials so we are able to talk to localhost and
issue git commands. Move to use a script, as the command list is
getting somewhat long.

While here, delay installing valgrind until we need it, as it and its
dependencies are by far the largest downloads and this allows us to
start compiling (and failing) faster and we only incur this cost when
the test suite runs successfully.
2013-08-14 10:49:10 +02:00
Carlos Martín Nieto
fb42a22e2f travis: test push
Create a test repository in the VM and set up git-daemon so we can
use it to test the push code.
2013-04-29 02:15:51 +02:00
Philip Kelley
2c7f7a66e9 http: Support 302 Found (arrbee did most of the work) 2013-03-25 17:35:36 -04:00
Vicent Marti
c2ea65eec3 clar: Disable online tests. By now. 2013-03-25 21:24:18 +01:00
Carlos Martín Nieto
d768f9add9 travis: join-less notifications 2013-03-10 21:37:09 +01:00
Philip Kelley
f42beff7e2 Expand valgrind suppressions even more for libssl, libcrypto 2013-01-25 23:39:18 -05:00
Philip Kelley
5026aec2b3 Improve valgrind suppressions 2013-01-25 23:24:13 -05:00
nulltoken
ced8eff1e5 travis: Only run Valgrind when all tests pass 2013-01-06 17:37:38 +01:00
nulltoken
09556895b7 travis: Include the online suite when running against Travis 2013-01-06 14:40:32 +01:00
Sascha Cunz
cedc15af99 Mark travis build as failed if any test fails 2012-12-20 03:51:06 +01:00
Carlos Martín Nieto
37ac44366b travis: update the apt-get db 2012-12-14 03:12:03 +01:00
Vicent Marti
ed6a418791 travis: Try this key 2012-12-06 17:39:56 +01:00
Vicent Marti
7be7b42f5c travis: Fix this hook 2012-12-06 17:08:53 +01:00
Vicent Marti
79c649e4ea travis: Campfire notifications. Of course. 2012-12-06 15:52:15 +01:00
Vicent Marti
e30c052c4e LEAAAVE ME ALOOOONEEE 2012-11-01 23:01:42 +01:00
Carlos Martín Nieto
a75770febc tests: add a test for tag autofollow behaviour
Also tell ctest and valgrind to run libgit2_clar with '-iall' so we
run the network tests in travis.
2012-10-11 00:19:54 +02:00
Carlos Martín Nieto
064ee42d99 travis: use a valgrind suppressions file
We don't care about the supposed zlib errors, and the leak from
giterr_set isn't interesting, as it gets freed each time an error is
set.

Give valgrind a suppressions file so it doesn't tell us about them.
2012-09-04 16:00:49 +02:00
Carlos Martín Nieto
034ccc76a6 travis: be more idiomatic with the environment
Instead of putting the compilers in CC, use the travis configuration
to specify them.

Also ask it to send reports to the IRC channel.
2012-07-24 19:45:51 +02:00
Carlos Martín Nieto
8d711074ac travis: build with both gcc and clang 2012-07-23 21:52:28 +02:00
Carlos Martín Nieto
9f99c5de2e travis: make it run the tests under valgrind 2012-07-12 21:26:21 +02:00
Scott J. Goldman
64ab0ba7fb Enable mingw cross-compile stage in travis-ci 2012-05-26 18:48:49 -07:00
Scott J. Goldman
62986ff6de Add CMake build for examples / add them to Travis
By default, they are still not built, but hopefully, now that Travis is
building them, this will help stave off some of the bitrot.
2012-05-20 00:52:49 -07:00
Carlos Martín Nieto
c2d82a6533 travis: run the tests verbosely 2012-05-07 12:31:31 +02:00
Vicent Martí
5afe95d206 travis: Change notify email 2012-04-02 20:45:04 +02:00
Peter Drahoš
f9abcbdf53 Initial Travis CI build 2012-04-02 00:33:01 +02:00