summaryrefslogtreecommitdiff
path: root/other/travis
AgeCommit message (Collapse)Author
2017-10-25Fix OS X Travis.Robin Lindén
2017-08-22Run tests only once on FreeBSD due to Travis timeoutMaxim Biro
2017-08-22Fix FreeBSD failing on Travis after updateMaxim Biro
2017-08-22Update FreeBSD version on Travis to 11.1Maxim Biro
2017-08-22Update FreeBSD image on new tagMaxim Biro
Instead of updating it in every Travis build.
2017-08-22Allow FreeBSD tests to failMaxim Biro
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-06-03Use new encoding of `Maybe` in msgpack results.iphydf
The new encoding is `0` for `Nothing` and `[1, x]` for `Just x`.
2017-03-26Retry autotools tests the same way as cmake tests.iphydf
2017-03-26Reduce ctest timeout to 2 minutes from 5 minutes.iphydf
Fixes #411.
2017-03-12Fix Travis always succeeding despite tests failingMaxim Biro
2017-01-19Limit number of retries to 3.iphydf
2017-01-19Make Travis tests slightly more robust by re-running them.iphydf
2017-01-18Clarify how the autotools build is done on Travis.iphydf
2017-01-08Fix NaCl build: tar was called incorrectly.iphydf
tar -jxf expects a file.
2017-01-08Set up autotools build to build against vanilla NaCl.iphydf
Fixes #363.
2017-01-07Run windows tests but ignore their failures.iphydf
This way we can at least see what fails in which way.
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-05Test a few cmake option combinations before the build.iphydf
This takes a few seconds but allows us to cover cases that aren't checked often.
2017-01-02Fix SSL verification in coveralls.iphydf
2016-12-13Fix `--enable-logging` flag in autotools configure script.iphydf
We also never really tested this, because we run make distcheck, which does another configure with default flags instead of the ones we passed. Fixes #317.
2016-12-05Don't build nTox by default.iphydf
Build it on Travis. It won't be built on the windows builds regardless of having it enabled globally. Fixes #292.
2016-11-28Don't error on warnings by defaultMaxim Biro
Having -Werror set by default causes users' builds to fail because toxcore is not warning-free. Failing on errors is appropriate for the development phase, e.g. when building it in a CI enviroment, but it doesn't make much sense to fail builds for users and let them figure out that they need to pass -DWARNINGS=OFF to make the library build.
2016-11-10Work around Travis issue that causes build failures.iphydf
Travis seems to no longer set $TERM, which breaks opam. We now manually set it to some hopefully sane value.
2016-11-06Remove assocendoffile78
2016-11-06Enable address sanitizer on the cmake build.iphydf
2016-11-02Compile as C++ for windows builds.iphydf
Compiling as C++ changes nothing semantically, but ensures that we don't break C++ compatibility while also retaining C compatibility. C++ compatibility is useful for tooling and additional diagnostics and analyses.
2016-10-26Error if format_test can't be executed.iphydf
This ensures that on Travis, format_test will always be executed, or the build fails.
2016-10-06Set log level for DEBUG=ON to LOG_DEBUG.iphydf
We use TRACE=ON (cmake flag) to enable LOG_TRACE. This way, a regular build can enable DEBUG while not paying the price of TRACE. This is particularly important for FFI bindings (especially Python), where invoking callbacks can be an expensive operation.
2016-10-05Add option to build tox-bootstrapdMaxim Biro
When cross-compiling to <target> from Linux, cmake might find native Linux libconfig and decide to build tox-bootstrapd. If the target is Windows, this will fail, as tox-bootstrapd can't be built for Windows in the first place. If the target is Linux of some other architecture, then using host native libconfig will fail too. Thus an option is needed to guard against this.
2016-10-04Align things nicerMaxim Biro
2016-10-04Use TEST_TIMEOUT_SECONDS cmake flag on TravisMaxim Biro
2016-10-01Import the hstox SUT interface from hstox.iphydf
We'll maintain it in the c-toxcore repo, where it belongs.
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-19Add STRICT_ABI cmake flag to generate export lists.iphydf
Enabling this flag will generate and use an LD version script. It ensures that the dynamic libraries (libtoxcore.so, libtoxav.so) only export the symbols that are defined in their public API (tox.h and toxav.h, respectively).
2016-09-16Clean up Travis build a bit in preparation for osx/win.iphydf
2016-09-16Remove format-source from travis script.iphydf
This test is already performed by `make test` later on. We originally had it in the Travis script to make it fail fast when the format is wrong, but there is also some value in running all tests despite format errors. Fixes #83. There are no more relevant phases that would benefit from the padding lines proposed.
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-09-11Use TokTok's apidsl instead of the iphydf one.iphydf
2016-09-08Add address sanitizer option to cmake file.iphydf
2016-08-27Move logging to a callback.iphydf
This removes the global logger (which by the way was deleted when the first tox was killed, so other toxes would then stop logging). Various bits of the code now carry a logger or pass it around. It's a bit less transparent now, but now there is no need to have a global logger, and clients can decide what to log and where.
2016-08-24Add cmake test for apidsl.iphydf
2016-08-20Build assoc DHT code on travis.iphydf
2016-08-20Add format-source script.iphydf
This is easier to use from a precommit hook, so it can be used to ensure that all formatting is correct before committing code.
2016-08-18Make tox_callback_friend_name stateless.iphydf
See #27 and #40 for details.
2016-08-17Add missing DHT_bootstrap to CMakeLists.txt.iphydf
- This PR also adds a DEBUG cmake option that enables -DTOX_DEBUG. - We also remove `-Wall`, because there are too many warnings, and nobody really looks at them at the moment. We'll see about fixing them soon. We'll also want to enable `-Werror` at some point. - Finally, this PR enables `-O3` to make sure toxcore still works correctly under heavy compiler optimisations.
2016-08-17Try searching for libsodium with pkg-config in ./configure.iphydf
If libsodium can't be found with PKG_CHECK_MODULES, try AC_CHECK_LIB. If that also fails, abort configure. If a user passes --with-libsodium-libs explicitly, that overrides the pkg-config found location.
2016-08-16Split toxcore into layers.iphydf
This allows us to more clearly define interfaces between modules, and have the linker help us ensure that module boundaries are respected. The onion/tcp/net_crypto layer is a bit too large. This is due to a cyclic dependency (onion -> net_crypto -> TCP -> onion). We may or may not want to break that cycle in the future to allow the onion library to exist on its own without net_crypto.
2016-08-12Add "make install" step to Travis build.iphydf