]> granicus.if.org Git - flex/commitdiff
initial .travis.yml file
authorWill Estes <westes575@gmail.com>
Thu, 28 Dec 2017 23:17:57 +0000 (18:17 -0500)
committerWill Estes <westes575@gmail.com>
Wed, 3 Jan 2018 13:49:00 +0000 (08:49 -0500)
.travis.yml [new file with mode: 0644]
.travis/install-automake.sh [new file with mode: 0755]
.travis/install-gettext.sh [new file with mode: 0755]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..09cb041
--- /dev/null
@@ -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 (executable)
index 0000000..8de30b5
--- /dev/null
@@ -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 (executable)
index 0000000..ffa8652
--- /dev/null
@@ -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