forked from politza/pdf-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (39 loc) · 1.25 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: cpp
env:
matrix:
- EMACS=emacs24
- EMACS=emacs-snapshot
compiler:
- gcc
install:
- if [ "$EMACS" = "emacs24" ]; then
sudo add-apt-repository -y ppa:cassou/emacs &&
sudo apt-get update -qq &&
sudo apt-get install -qq emacs24 emacs24-el;
fi
- if [ "$EMACS" = "emacs-snapshot" ]; then
sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
sudo apt-get update -qq &&
sudo apt-get install -qq emacs-snapshot;
fi
- sudo apt-get install -qq make automake autoconf libpng-dev libz-dev
- sudo apt-get install libcairo2-dev libglib2.0-dev
- POPPLER=poppler-0.28.1
- wget http://poppler.freedesktop.org/$POPPLER.tar.xz
- unxz $POPPLER.tar.xz
- tar xf $POPPLER.tar
- pushd $POPPLER
- ./configure --disable-gtk-doc-html
--disable-xpdf-headers
--disable-poppler-qt4
--disable-poppler-qt5
--disable-poppler-cpp
--disable-utils
--enable-xpdf-headers
&& make -j4 && sudo make install
- popd
- curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
- export PATH=/home/travis/.cask/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/lib
script:
- make test