Commit Graph

21 Commits

Author SHA1 Message Date
jin-eld
fb26fe4455 Add "make dist" to travis
this should allow us to catch build system errors related to removing or adding
source files
2013-08-30 02:24:14 +03:00
jin-eld
974b8fb8bf Move travis build to autotools 2013-08-24 03:25:08 +03:00
jin-eld
50c8a820e5 Implemented autotools based build scripts
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-24 03:25:07 +03:00
Florian Hahn
50214c5406 Run unit tests with travis 2013-08-08 13:04:48 +02:00
charmlesscoin
8b47b6166e jesus, I'm going to sleep after this commit 2013-08-07 18:46:48 -04:00
charmlesscoin
8649f86b10 removed script changes so _this_ build will pass 2013-08-07 18:30:16 -04:00
charmlesscoin
64b05c0960 Cleanup test and work on .travis file 2013-08-07 04:04:16 -04:00
Florian Hahn
e95ecfc467 Test building docs with travis 2013-08-01 22:35:49 +02:00
irungentoo
c58ffba4f0 Merge branch 'master' into nurupo-master
Conflicts:
	.travis.yml
2013-07-30 18:00:59 -04:00
Maxim Biro
010adbe0ac Modified Travis to build libconfig from sources 2013-07-30 17:58:38 -04:00
Rylai
579fa95df4 travis: use -q instead of -qq to prevent travis from sometimes timing out on long apt-get updates 2013-07-30 15:17:18 -04:00
Rylai
fd13ae24c4 travis: use apt-get -y option instead of GNU yes
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-30 15:17:18 -04:00
Maxim Biro
3143bca131 New irc channel. 2013-07-29 15:34:28 -04:00
Maxim Biro
27ca0d6c25 Fixed Travis build 2013-07-23 15:41:05 -04:00
Maxim Biro
8ae0292cbf Updated .travis.yml to build all targets 2013-07-21 21:12:53 -04:00
Maxim Biro
e9f0059a15 Make Travis use clang 2013-07-17 18:20:46 -04:00
Maxim Biro
ef0efd72b5 Improved build system 2013-07-17 18:18:27 -04:00
Maxim Biro
573c88df44 Fixed cmake and Travis 2013-07-12 21:06:22 -04:00
irungentoo
e21e414248 If someone wants to fix the cmake, go ahead. 2013-07-12 17:19:51 -04:00
irungentoo
79aa715514 First part of DHT hardening done.
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)
2013-07-12 16:27:19 -04:00
Maxim Biro
d8d8aa6483 Added support of Travis CI 2013-06-24 20:56:38 -04:00