initial .travis.yml file

This commit is contained in:
Will Estes 2017-12-28 18:17:57 -05:00
parent e7d45afc6a
commit c0508df61d
3 changed files with 44 additions and 0 deletions

24
.travis.yml Normal file
View File

@ -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

10
.travis/install-automake.sh Executable file
View File

@ -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

10
.travis/install-gettext.sh Executable file
View File

@ -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