-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy path.travis.yml
71 lines (64 loc) · 1.88 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
65
66
67
68
69
70
71
language: go
sudo: required
dist: bionic
go:
- '1.12'
env:
- LIBVIPS=8.7.4
addons:
apt:
update: true
packages:
- gobject-introspection
- gtk-doc-tools
- libcfitsio3-dev
- libfftw3-dev
- libgif-dev
- libgs-dev
- libgsf-1-dev
- libmatio-dev
- libopenslide-dev
- liborc-0.4-dev
- libpango1.0-dev
- libpoppler-glib-dev
- libwebp-dev
- libbrotli-dev
- gtk-doc
- pkg-config
- swig
- automake
- bc
before_install:
- sudo apt-get install libbrotli-dev gtk-doc-tools pkg-config swig automake bc gobject-introspection -y
- sudo apt-get install -y automake build-essential gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng-dev
- sudo apt-get install -y libwebp-dev libtiff5-dev libgif-dev libexif-dev libxml2-dev libpoppler-glib-dev
- sudo apt-get install -y swig libmagickwand-dev libpango1.0-dev libmatio-dev libopenslide-dev libcfitsio-dev
- sudo apt-get install -y libgsf-1-dev fftw3-dev liborc-0.4-dev librsvg2-dev swig
- wget https://github.com/libvips/libvips/archive/v$LIBVIPS.zip
- unzip v$LIBVIPS
- cd libvips-$LIBVIPS
- test -f autogen.sh && ./autogen.sh || ./bootstrap.sh
- >
CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0
./configure
--disable-debug
--disable-dependency-tracking
--disable-introspection
--disable-static
--enable-gtk-doc-html=no
--enable-gtk-doc=no
--enable-pyvips8=no
--without-orc
--without-python
$1
- make
- sudo make install
- sudo ldconfig
script:
- export GO111MODULE=on
- cd -
# - sudo curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 && sudo chmod +x /usr/local/bin/dep
# - dep ensure -vendor-only
- ./scripts/unit-travis.sh
after_success:
- bash <(curl -s https://codecov.io/bash)