summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Estes <westes575@gmail.com>2017-12-28 18:17:57 -0500
committerWill Estes <westes575@gmail.com>2018-01-03 08:49:00 -0500
commitc0508df61da22a0a6f49e3c1d86404ea4ec37c85 (patch)
tree3e27456ce69923a458d7cfdd1082ed249e8aab7f
parente7d45afc6aeb49745f17d21ddba4848e0c0118fc (diff)
initial .travis.yml file
-rw-r--r--.travis.yml24
-rwxr-xr-x.travis/install-automake.sh10
-rwxr-xr-x.travis/install-gettext.sh10
3 files changed, 44 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..09cb041
--- /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 0000000..8de30b5
--- /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 0000000..ffa8652
--- /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