From 5c730afe65b0d936b27ee1d57df077ddb5ea9023 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Sat, 8 Aug 2015 12:03:02 +0200 Subject: [PATCH] travis, try container --- .travis.yml | 13 ++++++++++--- configure.ac | 1 + 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 828d5af..0fd2a39 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,21 @@ +sudo: false + language: c compiler: - clang - gcc -before_install: - - sudo apt-get update -qq - - sudo apt-get install -qq asciidoc libarchive-dev liblzma-dev xz-utils +addons: + apt: + packages: + - asciidoc + - libarchive-dev + - liblzma-dev + - xz-utils script: + - autoconf --version - ./autogen.sh - ./configure - make diff --git a/configure.ac b/configure.ac index e762931..a4604da 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,7 @@ PKG_CHECK_MODULES(LZMA, liblzma) AC_CHECK_HEADERS([stdint.h stdlib.h string.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. +# add when travis has autoconf 2.69+ AC_CHECK_HEADER_STDBOOL AC_TYPE_OFF_T AC_TYPE_SIZE_T AC_TYPE_SSIZE_T