Skip to content

Commit

Permalink
initial .travis.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
westes committed Jan 3, 2018
1 parent e7d45af commit c0508df
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions .travis/install-automake.sh
Original file line number Diff line number Diff line change
@@ -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 changes: 10 additions & 0 deletions .travis/install-gettext.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c0508df

Please sign in to comment.