Azat Khuzhin
83b1584700
travis-ci: do not run coverage on osx
...
First of all we don't really need two of them, and also with apple-clang
it will fail (because of our checks in cmake), so just exclude it from
the build matrix.
2017-03-12 15:01:09 +03:00
Azat Khuzhin
7004ee8e86
travis-ci: use travis_retry to reduce number of problems with flacky tests
2017-03-12 13:21:53 +03:00
Azat Khuzhin
c199df7bc7
travis-ci: remove -DEVENT__ENABLE_VERBOSE_DEBUG=ON (too much useless logs)
...
I guess we can revert part of 59649f7 commit, we tried, but it adds more problems than solves.
Refs: https://github.com/libevent/libevent/pull/476#issuecomment-284259602
2017-03-06 02:56:27 +03:00
Azat Khuzhin
108b5fef41
Run tests in parallel (they are lightweight), on CI and vagrant boxes
...
By default 20 parllel jobs, but one caveat for travis-ci, osx boxes
there slower and have less resources then linux (discovered during
testing), so limit number of parallel jobs to 4 there, and also install
travis_wait, so that travis-ci will not fail the build when there is no
output for 10 minutes, since for osx boxes it is very likely.
Refs: travis-ci/travis-ci@7202
2017-01-22 03:22:27 +03:00
Azat Khuzhin
2a67f4fc12
travis-ci: install cmake from xenial (CTEST_PARALLEL_LEVEL support)
...
cmake supports it since 3.0 I guess.
And it must be trusty (not precise), otherwise it fails:
dpkg: error processing
/var/cache/apt/archives/ifupdown_0.8.10ubuntu1_amd64.deb (--unpack):
trying to overwrite '/etc/init.d/networking', which is also in package netbase 4.47ubuntu1
Link: https://travis-ci.org/azat/libevent/jobs/193744023
2017-01-22 03:22:27 +03:00
Azat Khuzhin
e4e099bdb5
travis-ci/osx: install lcov
2016-11-04 03:28:42 +03:00
Azat Khuzhin
9ac000c724
Use coveralls.io via travis
2016-11-02 15:42:16 +03:00
Azat Khuzhin
7e12e96e7f
travis-ci: use container-based infrastructure
...
- by disabling sudo
- and since we use addons.apt.packages we don't need apt-get update, that requires sudo
Link: https://docs.travis-ci.com/user/migrating-from-legacy/
2016-10-17 01:30:54 +03:00
Azat Khuzhin
9d2f8d4b80
travis-ci/osx: fix compiling/linking openssl libraries
...
And we need that $(echo /path/*) otherwise bash will expand it only during
assignment that variable to another one, and this doesn't work correctly.
2016-10-17 01:04:05 +03:00
Azat Khuzhin
d7ceae593a
travis-ci: use gcc-5 (fixes osx|gcc failures)
...
Refs: travis-ci/travis-ci#4587
2016-10-16 23:34:08 +03:00
Azat Khuzhin
685a6a1917
travis: split long lines, and make it cleaner
2016-08-11 09:28:14 +03:00
Azat Khuzhin
088ea5e0b7
travis: fix autotools on osx by reinstalling libtool
...
Link: mkrufky/libdvbtee#22
2016-08-11 00:18:04 +03:00
Azat Khuzhin
481481d3f5
travis-ci/osx: relink gcc/g++ instead of clang
...
Since by default osx replaces /usr/bin/gcc with it's apple clang, while we have
gcc in our build matrix, so use real gcc.
2016-05-10 18:17:25 +03:00
Azat Khuzhin
79917e48ba
travis-ci: enable multi-os mode (osx, linux)
...
- use addons.apt.packages instead of `apt-get install`
- add `brew update`/`brew install ...`
Link: https://docs.travis-ci.com/user/installing-dependencies/
Link: https://docs.travis-ci.com/user/multi-os/
2016-05-10 08:29:56 +03:00
Azat Khuzhin
59649f74c2
travis-ci: increase matrix (--disable-foo)
...
Use --disable-foo from
https://github.com/libevent/libevent/wiki/ReleaseChecklist
2016-05-09 23:30:56 +03:00
Azat Khuzhin
c8be33952e
travis-ci: adjust alignment
2016-05-09 18:58:42 +03:00
Azat Khuzhin
3e56da238c
travis: add builds without debug mode into matrix
...
To cover compilation with this flag, since brew for example uses it by default.
2015-09-30 11:13:44 +03:00
Mark Ellzey
37453aba99
Update travis config for status updates
2015-05-12 15:43:03 -04:00
Joakim Soderberg
8c0f0a9b0e
Added a Travis-CI configuration file.
...
Initial stab at a first Travis config file.
2014-01-24 18:24:38 +01:00