Permalink
Browse files

Build c2man on Travis

  • Loading branch information...
khaledhosny committed Feb 5, 2018
1 parent 21b18b0 commit fcc2d40c6f67be7cd70ebfc5d4f732c088aa6e9d
Showing with 24 additions and 1 deletion.
  1. +17 −0 .ci/build-c2man.sh
  2. +7 −1 .travis.yml
View
@@ -0,0 +1,17 @@
set -e
git clone https://github.com/fribidi/c2man.git
cd c2man
./Configure -dE
mkdir -p $TRAVIS_BUILD_DIR/c2man-install
echo "binexp=$TRAVIS_BUILD_DIR/c2man-install" >> config.sh
echo "installprivlib=$TRAVIS_BUILD_DIR/c2man-install" >> config.sh
echo "mansrc=$TRAVIS_BUILD_DIR/c2man-install" >> config.sh
sh config_h.SH
sh flatten.SH
sh Makefile.SH
make depend
make
make install
View
@@ -6,13 +6,19 @@ matrix:
include:
- os: linux
compiler: gcc
install: bash .ci/build-c2man.sh
env: PATH=$PATH:$TRAVIS_BUILD_DIR/c2man-install
- os: linux
compiler: clang
env: DISTCHECK_CONFIGURE_FLAGS=--disable-docs
- os: osx
compiler: clang
env: DISTCHECK_CONFIGURE_FLAGS=--disable-docs
before_script:
- ./autogen.sh $DISTCHECK_CONFIGURE_FLAGS
script:
- ./autogen.sh
- make
- make check || (cat */test-suite.log && false)
- make distcheck || (cat */test-suite.log && false)

0 comments on commit fcc2d40

Please sign in to comment.