summaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)Author
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
2014-06-10Added warnings to travis building.irungentoo
2014-03-05Fix libtoxav link error.AZ Huang
2014-02-22Enable nTox in TravisMaxim Biro
2014-02-22Make Travis build bootstrap daemon againMaxim Biro
2014-02-19Apparently libvpx needs yasmmannol
2014-02-19Removed user agent header from msi and updated travis build stuffmannol
2014-02-18Stupid mistakemannol
2014-02-18No need for libconfig in travismannol
2014-02-18Ughmannol
2014-02-16This should install vpxmannol
2013-12-19This might help travis pass the CPU intensive tests.irungentoo
Gotta go fast.
2013-11-20echo is uselessSean
2013-11-20Fixed "'"Sean
2013-11-20Fixed thatSean
2013-11-20No one actually gives a shit about seeing this, so lets actually be able to ↵Sean Qureshi
see useful stuff
2013-10-13tox A/V: integration of A/V code into toxmannol
Also-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
2013-08-31Removed useless line from travis.irungentoo
2013-08-30Add "make dist" to travisjin-eld
this should allow us to catch build system errors related to removing or adding source files
2013-08-24Move travis build to autotoolsjin-eld
2013-08-24Implemented autotools based build scriptsjin-eld
supported options: --with-dependency-search=DIR will tell configure to look for various dependencies in DIR/include and DIR/lib Alternatively you can also specify libsodium header and libs location with --with-libsodium-headers and --with-libsodium-libs if it is installed elsewhere. Ncurses and libconfig are handled via the default pkg-config way, see ./configure --help=short for detailed information. The tox library is compiled as libtoxcore in shared and static variants, public headers are installed to ${prefix}/include/tox A pkg-config libtoxcore.pc configuration file is provided. Use ./configure --help for a full list of configure options or ./configure --help=short for the options that I added. To generate the configure script after pulling from git use: autoreconf -i To generate a release tarball use: make dist Unit tests are handled by the libcheck library integration that is provided by autotools, use: make check to compile and run the tests. Unit tests are currently optional, i.e. - if the check library is not found on the system, then tests will be disabled. Same goes for nTox and DHT bootstrap daemon - they will be enabled or disabled depending on the availability of ncurses (for nTox) or libconfig (for DHT bootstrap daemon). The above can be also tuned by: --enable-tests / --disable-tests --enable-ntox / --disable-ntox --enable-dht-bootstrap-daemon / --disable-dht-bootstrap-daemon
2013-08-08Run unit tests with travisFlorian Hahn
2013-08-07jesus, I'm going to sleep after this commitcharmlesscoin
2013-08-07removed script changes so _this_ build will passcharmlesscoin
2013-08-07Cleanup test and work on .travis filecharmlesscoin
2013-08-01Test building docs with travisFlorian Hahn
2013-07-30Merge branch 'master' into nurupo-masterirungentoo
Conflicts: .travis.yml
2013-07-30Modified Travis to build libconfig from sourcesMaxim Biro
2013-07-30travis: use -q instead of -qq to prevent travis from sometimes timing out on ↵Rylai
long apt-get updates
2013-07-30travis: use apt-get -y option instead of GNU yesRylai
The Advanced Packaging Tool has an option to automatically assume Yes to all queries. We don't need to use GNU yes for this.
2013-07-29New irc channel.Maxim Biro
2013-07-23Fixed Travis buildMaxim Biro
2013-07-21Updated .travis.yml to build all targetsMaxim Biro
2013-07-17Make Travis use clangMaxim Biro
2013-07-17Improved build systemMaxim Biro
2013-07-12Fixed cmake and TravisMaxim Biro
2013-07-12If someone wants to fix the cmake, go ahead.irungentoo
2013-07-12First part of DHT hardening done.irungentoo
Added crypto to the DHT communications. This defeats completely the first attack mentioned in docs/DHT_hardening. Also updated the build system to build the latest test (it links it with libsodium)