Skip to content

Commit 92b1d82

Browse files
committed
Build libvips from tarball and require sudo
1 parent a88dfaf commit 92b1d82

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.travis.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
language: php
22

3-
sudo: false
3+
sudo: required
44
dist: trusty
55

66
php:
77
- 7.0.13
88
- 7.1
99

1010
env:
11-
- LIBVIPS=8.3
12-
- LIBVIPS=8.4
13-
- LIBVIPS=master
11+
- LIBVIPS=8.4.4
1412

1513
cache:
1614
apt: true
@@ -21,7 +19,6 @@ addons:
2119
apt:
2220
packages:
2321
- gobject-introspection
24-
- gtk-doc-tools
2522
- libcfitsio3-dev
2623
- libfftw3-dev
2724
- libgif-dev
@@ -36,10 +33,9 @@ addons:
3633

3734
# VIPS 8.3.3 requires Poppler 0.30 which is not released on Trusty.
3835
before_install:
39-
- wget https://github.com/jcupitt/libvips/archive/$LIBVIPS.zip
40-
- unzip $LIBVIPS
41-
- cd libvips-$LIBVIPS
42-
- test -f autogen.sh && ./autogen.sh || ./bootstrap.sh
36+
- wget http://www.vips.ecs.soton.ac.uk/supported/current/vips-$LIBVIPS.tar.gz
37+
- tar -xvzf vips-$LIBVIPS.tar.gz
38+
- cd vips-$LIBVIPS
4339
- >
4440
CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0
4541
./configure
@@ -54,8 +50,8 @@ before_install:
5450
--without-python
5551
$1
5652
- make
57-
- make install
58-
- ldconfig
53+
- sudo make install
54+
- sudo ldconfig
5955
- cd ..
6056
- yes '' | pecl install vips
6157

0 commit comments

Comments
 (0)