mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
Try making the CI script a bit more idiomatic
This commit is contained in:
parent
7a93c62199
commit
a8e60377b2
36
.travis.yml
36
.travis.yml
@ -1,25 +1,49 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
|
sudo: true
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
# - osx # TODO: enable
|
||||||
|
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
|
apt:
|
||||||
|
update: true
|
||||||
|
sourceline: 'ppa:fontforge/fontforge'
|
||||||
|
packages:
|
||||||
|
- libpoppler-private-dev
|
||||||
|
- libcairo-dev
|
||||||
|
- libpoppler-dev
|
||||||
|
- libspiro-dev
|
||||||
|
- libcairo-dev
|
||||||
|
- libpango1.0-dev
|
||||||
|
- libfreetype6-dev
|
||||||
|
- libltdl-dev
|
||||||
|
- libfontforge-dev
|
||||||
|
- python-imaging
|
||||||
|
- python-pip
|
||||||
|
- firefox
|
||||||
|
- xvfb
|
||||||
sauce_connect: true
|
sauce_connect: true
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository ppa:fontforge/fontforge --yes
|
- pip install --user selenium sauceclient
|
||||||
- sudo add-apt-repository ppa:coolwanglu/pdf2htmlex --yes
|
|
||||||
- sudo apt-get update -qq
|
|
||||||
- sudo apt-get install -qq libpoppler-dev libpoppler-private-dev libspiro-dev libcairo-dev libpango1.0-dev libfreetype6-dev libltdl-dev libfontforge-dev python-imaging python-pip firefox xvfb
|
|
||||||
- sudo pip install selenium sauceclient
|
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- test/start_xvfb.sh
|
- test/start_xvfb.sh
|
||||||
- pushd /
|
- pushd /
|
||||||
- python -m SimpleHTTPServer 8000 >/dev/null 2>&1 &
|
- python -m SimpleHTTPServer 8000 >/dev/null 2>&1 &
|
||||||
- popd
|
- popd
|
||||||
- sleep 5
|
- sleep 5
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- cmake -DENABLE_SVG=ON .
|
- cmake -DENABLE_SVG=ON .
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
- P2H_TEST_REMOTE=1 ctest --output-on-failure --verbose
|
- P2H_TEST_REMOTE=1 ctest --output-on-failure --verbose
|
||||||
- sudo make install
|
- make install
|
||||||
- /usr/local/bin/pdf2htmlEX -v
|
- /usr/local/bin/pdf2htmlEX -v
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user