1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

Turn on OSX build, but allow it to fail for now. Update homebrew package names as much as possible for now

This commit is contained in:
Jonathan Goldfarb 2018-10-10 22:54:39 -04:00
parent 3aef1634bd
commit 7ca6ed7cad

View File

@ -77,6 +77,8 @@ matrix:
- os: osx # Until the build passes, then re-enable. - os: osx # Until the build passes, then re-enable.
before_install: before_install:
- if [ "${TRAVIS_OS_NAME}" == "osx" ] ; then brew reinstall gettext; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ] ; then brew unlink gettext && brew link gettext --force; fi
# Clone and build poppler # Clone and build poppler
- git clone ${POPPLER_SOURCE} - git clone ${POPPLER_SOURCE}
- cd poppler; - cd poppler;
@ -104,8 +106,9 @@ before_install:
./bootstrap; ./bootstrap;
./configure --disable-programs --disable-python-extension --disable-python-scripting --prefix=${TRAVIS_BUILD_DIR}/usr; ./configure --disable-programs --disable-python-extension --disable-python-scripting --prefix=${TRAVIS_BUILD_DIR}/usr;
make; make;
make install; make install
sudo ldconfig - if [ "${TRAVIS_OS_NAME}" == "linux" ] ; then sudo ldconfig; fi
- if [ "${TRAVIS_OS_NAME}" == "osx" ] ; then sudo update_dyld_shared_cache; fi
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
# Test setup # Test setup