mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
Another try at getting OSX to the build stage
This commit is contained in:
parent
7ca6ed7cad
commit
0be560d43f
11
.travis.yml
11
.travis.yml
@ -77,8 +77,8 @@ matrix:
|
||||
- os: osx # Until the build passes, then re-enable.
|
||||
|
||||
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
|
||||
- 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
|
||||
- git clone ${POPPLER_SOURCE}
|
||||
- cd poppler;
|
||||
@ -107,14 +107,15 @@ before_install:
|
||||
./configure --disable-programs --disable-python-extension --disable-python-scripting --prefix=${TRAVIS_BUILD_DIR}/usr;
|
||||
make;
|
||||
make install
|
||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ] ; then sudo ldconfig; fi
|
||||
- if [ "${TRAVIS_OS_NAME}" == "osx" ] ; then sudo update_dyld_shared_cache; fi
|
||||
- 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}
|
||||
|
||||
# Test setup
|
||||
- pip install --user Pillow selenium sauceclient
|
||||
- export DISPLAY=:99.0
|
||||
- test/start_xvfb.sh
|
||||
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then test/start_xvfb.sh ;fi
|
||||
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ( sudo Xvfb :99 -ac -screen 0 1024x768x8; echo ok )& fi
|
||||
- pushd /
|
||||
- python -m SimpleHTTPServer 8000 >/dev/null 2>&1 &
|
||||
- popd
|
||||
|
@ -10,6 +10,9 @@ modified for pdf2htmlEX
|
||||
|
||||
modified for general git repo
|
||||
2013.05.30
|
||||
|
||||
modified for updated repo, support more distributions (hopefully)
|
||||
2018.10.11
|
||||
"""
|
||||
|
||||
|
||||
@ -19,8 +22,8 @@ import re
|
||||
import time
|
||||
|
||||
package='pdf2htmlex'
|
||||
ppa_name='ppa:coolwanglu/pdf2htmlex'
|
||||
supported_distributions=('precise', 'trusty')
|
||||
ppa_name='ppa:jgoldfar/pdf2htmlex'
|
||||
supported_distributions=('precise', 'trusty', 'xenial', 'cosmic')
|
||||
dist_pattern=re.compile('|'.join(['\\) '+i for i in supported_distributions]))
|
||||
archive_cmd='(rm CMakeCache.txt || true) && cmake . && make dist'
|
||||
archive_suffix='.tar.bz2'
|
||||
|
Loading…
Reference in New Issue
Block a user