aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneusdan <neusdan>2015-03-12 23:21:21 +0000
committerlloyd <[email protected]>2015-03-12 23:21:21 +0000
commitcd0255a904bbd5211466c14edd31248c4a17025e (patch)
tree6194ea490c847367748c67079f44d7866fd49863
parent3700e0b76dfa169a3af0545f2eda33437e3e5d61 (diff)
Add Travis CI integration. Github pull 60
-rw-r--r--.travis.yml22
-rw-r--r--readme.rst15
2 files changed, 32 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..ad7c8a0c1
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+compiler:
+ - gcc
+
+language: cpp
+
+before_install:
+ - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
+ - sudo apt-get update -qq
+
+install:
+ - sudo apt-get install -qq g++-4.8
+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
+
+script:
+ - $CXX --version
+ - python configure.py
+ - "make"
+ - "LD_LIBRARY_PATH=. ./botan-test"
+
+os:
+ - linux
diff --git a/readme.rst b/readme.rst
index 4ec23e91d..d263e0b9d 100644
--- a/readme.rst
+++ b/readme.rst
@@ -4,8 +4,14 @@ Botan Crypto Library
Botan is a C++11 library for crypto and TLS released under the permissive
2-clause BSD license (see ``doc/license.txt`` for the specifics).
-For full instructions on building the library, read
-``doc/manual/building.rst``, but basically::
+.. image:: https://travis-ci.org/randombit/botan.svg?branch=net.randombit.botan
+ :target: https://travis-ci.org/randombit/botan
+
+In addition to Travis CI, Kullo GmbH hosts a CI building botan on
+Linux, OS X, and Windows at https://botan-ci.kullo.net/
+
+For all the details on building the library read ``doc/manual/building.rst``,
+but basically::
$ configure.py --help
$ configure.py [probably some options]
@@ -16,9 +22,8 @@ For full instructions on building the library, read
# shows available commands
$ make install
-You can file bugs in `GitHub Issues
-<https://github.com/randombit/botan/issues/>`_ or by sending a
-report to the `botan-devel mailing list
+You can file bugs at https://github.com/randombit/botan/issues/
+or by sending a report to the `botan-devel mailing list
<http://lists.randombit.net/mailman/listinfo/botan-devel/>`_
The `github wiki <https://github.com/randombit/botan/wiki>`_