summaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)Author
2018-08-27Enable FreeBSD Travis-CI buildMaxim Biro
2018-08-18Enable .travis.yml check and use non-markdown license.iphydf
2018-08-16Limit the size of a save file in file_saving_test.iphydf
Limited to 4GiB. That ought to be enough for any save file.
2018-08-12Temporarily disable FreeBSD build, since it times out.iphydf
2018-08-12Move OSX to stage 1 of Travis.iphydf
This avoids its dependency on FreeBSD.
2018-07-21Avoid implementations in .h files or #including .c files.iphydf
Also, avoid the need for putting `_XOPEN_SOURCE` in every test file.
2018-07-15Simplify Travis-CI FreeBSD buildMaxim Biro
2018-07-10Add the bazel build as one of the PR-blocking builds.iphydf
2018-07-01Simplify Travis CI builds.iphydf
Have one script per build. This means more duplication between the scripts, but it's much easier to understand and to run locally.
2018-03-17Fix coveralls reporting.iphydf
The new clang version makes gcov segfault. Also, coveralls needs another package that it doesn't install the right version of by default.
2018-02-19Remove apidsl from the build.iphydf
apidsl is in feature freeze. We can rely on the web service, instead.
2018-02-09Remove libcheck from the dependencies.iphydf
We're not gaining much from this library, and it's a burden, especially for windows development.
2018-02-06Improve stability of crypto_memcmp test.iphydf
Also reduce number of people in conference to 5, because on Circle CI the test times out trying to connect more than 6 or 7 people. The persistent conferences PR will improve this so we can set it much higher then.
2018-02-04Use more ubuntu packages; remove hstox for now.iphydf
Since trusty has more up-to-date packages, we can remove some of the custom install code. Also, we're not using hstox at the moment, so there is no need to slow down the builds for now.
2018-01-25Make Travis test Windows DockerfileMaxim Biro
2018-01-25Disable the autotools build in PR builds.iphydf
We will only build this during the nightly build. It's very rare for the autotools build to break when the cmake build does not.
2018-01-22Use <stdlib.h> for alloca on FreeBSD.iphydf
https://www.freebsd.org/cgi/man.cgi?alloca If stdlib.h does not define alloca, and we're using GCC (or Clang), we define the macro ourselves in terms of a GCC builtin.
2018-01-15Don't install packages needlessly on TravisMaxim Biro
2018-01-15Run fewer Travis jobs during Pull Requests.iphydf
Still run all the jobs during cron and regular push to branch. We disabled build for push to branch, so cron is the only place where all builds are run. This also means we need to worry less about spending time in nightly builds, because they occur only once a day. See https://github.com/travis-ci/travis-ci/issues/9071
2017-12-16Test tox-bootstrapd Docker container on TravisMaxim Biro
2017-12-13Make Windows builds use an old Trusty image on TravisMaxim Biro
Travis has upadted their VM image and by default the latest is being used. This has caused our Windows builds to fail due to them exceeding Travis's log limit of 4mb. It appears to be due to the new Docker version the new Trusty image has, it somehow changed network behaviour in a way that makes toxcore network module output a lot more of log messages than it used to.
2017-12-12Separate FreeBSD Travis build in 2 stagesMaxim Biro
2017-12-09Add aspcud for OpamRobin Lindén
2017-08-22Test toxcore on FreeBSD on TravisMaxim Biro
2017-06-05Fold hstox tests into the general linux test.iphydf
We can run the spectest from within cmake, so we should exercise that.
2017-05-13Make OSX test failures fail the Travis CI build.iphydf
2017-04-22Revert "Implement tox_loop"Maxim Biro
This reverts commit 5ff099763b1f56414572e1c12eb2f003117db5a0.
2017-04-01Implement tox_loopAnsa89
2017-01-07Don't use `git.depth=1` anymore.iphydf
2017-01-06Add an OSX build that doesn't run tests.iphydf
This one is not allowed to fail and ensures that toxcore can at least be built for OSX.
2017-01-04Only fetch 1 revision from git during Travis builds.iphydf
2016-10-30TravisCI shorten IRC messageGregory Mullen (grayhatter)
2016-09-22Allow the OSX build to fail on travis.iphydf
Given that it fails about 80-90% of the time, it's not worth requiring it to pass. Instead, we'll need to manually look at the osx build to see in what way it failed. Also, set `fast_finish` to true, since OSX regularly has multi-hour (up to half a day) outages that can't block us for trivial code changes or non-code changes.
2016-09-20Add OSX and Windows build to travis config.iphydf
Tests for Windows are disabled for now, until we figure out which tests can successfully run on wine and select only those.
2016-09-16Clean up Travis build a bit in preparation for osx/win.iphydf
2016-09-11Use "phase" script for travis build phases.iphydf
This is the first step towards unifying travis configs for toxcore, hstox, and qtox.
2016-08-31Enable build of av_test.iphydf
It has not been built in a while. We do want to keep this one working (or at least compiling).
2016-08-12Add "make install" step to Travis build.iphydf
2016-08-12Add and use CMake build scriptiphydf
Also, fix the hstox build that was taking half an hour. It now takes 5 minutes. Also, perform distcheck on travis to ensure that make dist works. It's not actually failing the build at the moment due to broken tests.
2016-08-12Check code formatting on Travis.iphydf
We run astyle on Travis and check if there is a diff. The build terminates if git finds a difference.
2016-08-12Run hstox test suite against toxcore on Travis.iphydf
2016-08-12Move toxcore travis build scripts out of .travis.yml.iphydf
This is in preparation for having multiple types of build. One of the future builds will be a hstox build, another may be frama-c or some other static analyser. It makes sense to split these up into multiple builds, because each of them can take a while, and running them in parallel will speed things up. Also, the hstox test coverage should be reported separately from the toxcore auto_test coverage.
2016-08-11Fix a few issues with running Toxcore tests on Travis-CIGregory Mullen (grayhatter)
> increased the timeout for TCP tests because per @irungentoo the network on Travis-CI can be slow sometimes > allowed groupchats test to restart on error until timeout This had to be done because current groupchats are fundamentally broken and 3/5 times they'll 'net-split' on connect >> Drop group chat tests, add comment to the reason > added some debugging information to TCP tests, and a #define to force IPV6 (Travis-CI only uses IPv4 on their containers) and decreased the itr interval > Went crazy with timeouts for Tox network stuff on Travis. Tests on TCP will still randomly fail due to timeouts. I can't reproduce on any local system. So again per @irungentoo, Travis is slow, let's offer it a short bus.
2016-07-07Enable toxcore logging when building on Travis.iphydf
The logging code is rarely tested by users, so we use Travis to exercise it.
2016-07-07Start recording test coverage and move to ubuntu precise.iphydf
- We use coveralls.io to report on test coverage and avoid getting below a certain threshold. The threshold is currently 60%, but we will be increasing it when it stabilises. - We use gcc/clang -ftest-coverage and gcov to measure C test coverage. - We switched to container based Travis build infrastructure, which has the advantage of faster boot times[1] (1-6s vs. 20-52s). The trusty beta supports caching, but the longer boot times make it an unattractive target. - We now need to build more dependencies ourselves and cache the result. We still fetch what we can (currently opam, libvpx, and check) from apt. [1] https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
2016-03-07Added check of whether tox.h or toxav.h were edited directlyMaxim Biro
tox.h and toxav.h must be generated by apidsl instead of edited directly.
2016-01-24Update Travis scriptMaxim Biro
Reduces the running time from about 8 minutes to about 5, as it uses packaged libraries instead of building them. This is possible because of the Ubuntu Trusty becoming available on Travis. The new check that is in Trusty has different behaviour than the previously user version of it -- it doesn't output the detailed result of tests. To fix this we cat a file where this detailed result is stored.
2015-06-14Fixed travis.irungentoo
2015-02-03Travis should build Tox with Libsodium stableUrras
2014-09-05fix travis sodium versionDubslow