forked from libvips/lua-vips
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
64 lines (56 loc) · 1.47 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
sudo: false
language: generic
dist: trusty
env:
global:
- LUAROCKS_VERSION=3.0.0
- VIPS_VERSION=8.7.0
- VIPS_PRE_VERSION=rc2
- VIPS_TAR_VERSION=$VIPS_VERSION-rc2
- VIPS_WARNING=0
- JOBS=2
- LD_LIBRARY_PATH=$HOME/vips/lib:$LD_LIBRARY_PATH
- PKG_CONFIG_PATH=$HOME/vips/lib/pkgconfig:$PKG_CONFIG_PATH
- PATH=$HOME/vips/bin:$HOME/luarocks/bin:/usr/local/openresty/luajit/bin:$PATH
cache:
directories:
- $HOME/vips
- $HOME/luarocks
addons:
apt:
sources:
# Use the official APT repositories from OpenResty (which includes LuaJIT 2.1.0-beta3),
# because LuaJIT on trusty is quite old.
- sourceline: 'deb http://openresty.org/package/ubuntu trusty main'
key_url: 'https://openresty.org/package/pubkey.gpg'
packages:
- openresty
- libexpat1-dev
- gettext
- libglib2.0-dev
- liborc-0.4-dev
- libfftw3-dev
- liblcms2-dev
- libmagickwand-dev
- libopenexr-dev
- libcfitsio3-dev
- libgif-dev
- libgsf-1-dev
- libmatio-dev
- libopenslide-dev
- libpango1.0-dev
- libpoppler-glib-dev
- librsvg2-dev
- libwebp-dev
before_install:
- bash .ci/install-vips.sh
- bash .ci/install-luarocks.sh
--with-lua=/usr/local/openresty/luajit/
--lua-suffix=jit-2.1.0-beta3
--with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1
- eval `luarocks path`
install:
- make dev
script:
- make lint
- make test