diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..09cb04148 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: c + +compiler: + - gcc + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - autoconf + - bison + - gcc-6 + - help2man + - lzip + - texinfo + - texlive + +before_script: + - ./.travis/install-gettext.sh + - ./.travis/install-automake.sh + - export PATH=$HOME/bin:$PATH + +script: ./autogen.sh && ./configure && make && make check && make distcheck diff --git a/.travis/install-automake.sh b/.travis/install-automake.sh new file mode 100755 index 000000000..8de30b554 --- /dev/null +++ b/.travis/install-automake.sh @@ -0,0 +1,10 @@ +#!/bin/bash -ex + +wget -nv https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.gz{,.sig} +gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 94604D37 +gpg2 automake-1.15.1.tar.gz.sig +tar xf automake-1.15.1.tar.gz +cd automake-1.15.1 +./configure --prefix=$HOME +make +make install diff --git a/.travis/install-gettext.sh b/.travis/install-gettext.sh new file mode 100755 index 000000000..ffa865273 --- /dev/null +++ b/.travis/install-gettext.sh @@ -0,0 +1,10 @@ +#!/bin/bash -ex + +wget -nv https://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.lz{,.sig} +gpg2 --keyserver hkp://keys.gnupg.net --recv-keys D7E69871 +gpg2 gettext-0.19.8.1.tar.lz.sig +tar xf gettext-0.19.8.1.tar.lz +cd gettext-0.19.8.1 +./configure --prefix=$HOME +make +make install