Repository navigation
Expand file tree
/
Copy path.travis.yml
More file actions
67 lines (58 loc) · 1.5 KB
/
Copy path.travis.yml
File metadata and controls
67 lines (58 loc) · 1.5 KB
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
65
66
67
sudo: false
language: generic
dist: trusty
env:
global:
- LUAROCKS_VERSION=2.4.4
- VIPS_VERSION=8.7.0
- VIPS_PRE_VERSION=rc1
- VIPS_TAR_VERSION=$VIPS_VERSION
- VIPS_WARNING=0
- TEST_COVERAGE=1
- 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:/usr/local/openresty/nginx/sbin:/usr/local/openresty/bin:$PATH
cache:
directories:
- $HOME/vips
- $HOME/luarocks
addons:
apt:
sources:
- sourceline: 'deb http://openresty.org/package/ubuntu trusty main'
key_url: 'https://openresty.org/package/pubkey.gpg'
packages:
- openresty
- openresty-resty
- 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:
- cp app/config.example.lua app/config.lua
- make dev
script:
- .ci/run_tests.sh
after_success:
- luacov-coveralls