summaryrefslogtreecommitdiff
path: root/.travis
AgeCommit message (Collapse)Author
2020-05-03Add a script to run Travis CI locally.iphydf
This isn't quite Travis, but close enough for local testing.
2020-04-29Disable non-hermetic tests by default.iphydf
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955319.
2020-04-26Rework the toxchat/bootstrap-node Docker image.iphydf
* Use fully static build for the bootstrap daemon. * Store a sha256sum of the binary in the repo. * Updated documentation for it. * Add support for fully static build in cmake. * Enable the docker build on every PR, so we catch changes to the checksum. I realise this is adding toil, but having the checksum is valuable for security of released binaries.
2020-04-24Fix continuous integration builds.iphydf
2020-04-08Install ci-tools and get tokstyle via the script it provides.iphydf
2020-03-22Install libsodium from apt instead of from source.iphydf
2020-03-22Remove bazel build from Travis.iphydf
We already have one on Cirrus, and it works fine.
2020-03-17Enable remote cache for bazel builds.iphydf
2020-03-14use -1 rather than ~0 in unsigned integer typeszugz (tox)
Using ~0 involves a bitwise operation on int, so depends on the internal representation of signed integers.
2020-03-11Add a mutex lock/unlock inside every public API function.iphydf
2020-03-10Update and fix FreeBSD setup on Travis-CIMaxim Biro
- Bump FreeBSD to 12.1. - Simplify stage1 logic. - Re-try downloading the image from a different mirror if one fails. - Use the `expect` utility instead of dealing with screen's log file. - Re-run failed toxcore test one more time and in sequence.
2020-03-05Use ninja build system for the cmake-linux build.iphydf
2020-03-02bump to astyle-3.1 in travis buildzugz (tox)
2020-03-02Upgrade bazel to 2.1.1.iphydf
Removed av_test, because it depends on an ancient opencv that starts to really not exist on modern systems anymore.
2019-01-06Use (probably?) correct path to test log to cat on error.iphydf
2019-01-06Display build log for autotools build on failure.iphydf
We can't see the failure messages now, so something like "aborted", which probably means assertion failure, is not very useful right now. E.g. https://travis-ci.org/TokTok/c-toxcore/jobs/476028600#L1220
2018-11-22Upgrade bazel to 0.19.0 to fix the bazel build.iphydf
2018-11-04Build tox-bootstrapd on FreeBSD Travis-CIMaxim Biro
2018-11-04Increase NOFILE limit for tox-bootstrapdMaxim Biro
tox-bootstrapd can use around 600 TCP sockets during TCP server's normal functioning. Many systems default to having a soft limit of 1024 open file descriptors, which we are close to reaching, so it was suggested we bump that limit to a higher number. iphy suggested increasing it to 32768.
2018-10-17tox-bootstrapd's Dockerfile shouldn't use master branchMaxim Biro
2018-10-07Add AUTOTEST Option to CMakeLists.txtchrono
2018-10-07Make sure logger levels stay in sync across filesMaxim Biro
2018-10-07Default to not defining MIN_LOGGER_LEVEL in CMakeMaxim Biro
That way CMake's behavior matches what autotools does -- letting toxcore/logger.h handle the default case.
2018-09-19Fix yamllint test (it's gone from bazel, add a new one).iphydf
2018-09-14Use most recent version of Bazel (0.17.1).iphydf
2018-09-08Add tool to find directly recursive calls in toxcore.iphydf
We should avoid recursion, as it makes reasoning about stack growth harder. This tool shows (currently) 4 (non-tail) recursive functions, at least 2 of which are easy to fix.
2018-09-01Fix login issue on Travis-CI FreeBSD buildMaxim Biro
2018-08-27Fix FreeBSD VM on Travis not shutting downMaxim Biro
2018-08-25Run all tests (and compilation) in parallel with autotools.iphydf
With distcheck, it's all or nothing, so we build with -j50 and run tests with -j50.
2018-08-21Always print output on failure in cmake tests on Travis.iphydf
Not only the second time it fails.
2018-08-21Run project tests like yamllint_test.iphydf
We check that: * The license is GPLv3. * .travis.yml conforms with the toktok style specification. * There exists a README.md file.
2018-08-19Upload coverage to codecov as well as coveralls.iphydf
2018-08-14Use `--config` to tell bazel about the environment.iphydf
Instead of importing a well-known file. This gives toktok-stack more freedom in where and how it wants to define its interface, as long as it provides the configurations requested ("linux" and "clang").
2018-08-13Use tokstyle in the cmake travis build.iphydf
This checks that (some of) the code follows some simplicity and naming guidelines set by the tool.
2018-08-12Stop running tests in the bazel build.iphydf
These always fail at present. We'll need to look into making them not always fail so we can enable them and get some useful signal from them.
2018-07-22Run Clang global static analysis on Travis.iphydf
This uses a single .cc file containing almost all the code in the repository to perform whole program analysis.
2018-07-15Set C++11/C99 flag manually in older cmake on not-msvc.iphydf
These flags are needed so the code actually compiles, so can't only be set on Travis.
2018-07-15Simplify Travis-CI FreeBSD buildMaxim Biro
2018-07-12Use named function types for group callbacks.iphydf
Also some other cleanups. This PR means that future PRs, i.e. the PGC PR, must not break the rules established here.
2018-07-10Add the bazel build as one of the PR-blocking builds.iphydf
2018-07-05Use run_auto_test.h test fixture for some auto-tests.iphydf
Most of the auto-tests should use this fixture, but I've only done a few to set an example.
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.