summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2016-11-29 20:18:31 -0500
committerHubert Figuière <hub@figuiere.net>2016-11-29 20:52:10 -0500
commiteccc682359ecf4f98fdbd5f670f9d8ab0ea2b9dd (patch)
treef76f41ea2aa87aa8b7efdf05107d6d2954dcadb4
parentdd6791bbd16d2c2505ccd13a3ececa3d895238ad (diff)
Travis CI
- Fix shell syntax in autogen.sh - Bump boost requirement to 1.48.
-rw-r--r--.travis.yml13
-rw-r--r--NEWS4
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.ac2
4 files changed, 19 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..2ed4d1b
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,13 @@
+language: cpp
+compiler:
+ - clang
+ - gcc
+addons:
+ apt:
+ packages:
+ - libboost-test1.48-dev
+script:
+ - ./autogen.sh
+ - ./configure
+ - make
+ - make check \ No newline at end of file
diff --git a/NEWS b/NEWS
index 9281305..c6ad8b6 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,10 @@
- Now require (partial) C++11 support to compile (gcc 4.4.7 tested)
- New: WebP format handler (contributed: Frankie Dintino, The Atlantic)
+Internal:
+
+- Exempi is now automatically build and the test run by Travis CI.
+
2.3.0 - 2016/03/15
- New: API xmp_datetime_compare().
diff --git a/autogen.sh b/autogen.sh
index 5df780f..7464f9a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -41,7 +41,7 @@ $AUTOCONF
cd $builddir
-if [ ! $NOCONFIGURE == "1" ]; then
+if [ ! $NOCONFIGURE = "1" ]; then
if test -z "$*"; then
echo "I am going to run ./configure with --enable-maintainer-mode"
echo "If you wish to pass any to it, please specify them on "
diff --git a/configure.ac b/configure.ac
index 5eb12eb..bfb18f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -168,7 +168,7 @@ AC_ARG_ENABLE(unittest,
ENABLE_UNITTEST=$enableval,
ENABLE_UNITTEST=yes)
if test x$ENABLE_UNITTEST = xyes ; then
- BOOST_REQUIRE([1.33.0])
+ BOOST_REQUIRE([1.48.0])
BOOST_TEST([mt-s])
else
ENABLE_UNITTEST=no