2017-09-27 11:45:32 +02:00
|
|
|
language: go
|
2018-09-10 09:13:57 +02:00
|
|
|
|
2017-09-27 11:45:32 +02:00
|
|
|
go:
|
2018-09-10 08:34:36 +02:00
|
|
|
- '1.8'
|
|
|
|
- '1.9'
|
|
|
|
- '1.10'
|
|
|
|
- '1.11'
|
2017-09-27 11:45:32 +02:00
|
|
|
- tip
|
2018-09-10 09:13:57 +02:00
|
|
|
|
2017-09-27 11:45:32 +02:00
|
|
|
env:
|
|
|
|
- VIPS_VERSION=8.4.6
|
|
|
|
- VIPS_VERSION=8.5.8
|
2018-09-10 09:13:57 +02:00
|
|
|
|
|
|
|
cache: apt
|
|
|
|
|
2017-09-27 11:45:32 +02:00
|
|
|
install:
|
|
|
|
- sudo apt-get -qq update
|
2018-09-10 07:42:14 +02:00
|
|
|
- sudo apt-get install -y build-essential libxml2-dev libfftw3-dev gobject-introspection libglib2.0-dev libwebp-dev libgif-dev
|
2017-09-27 11:45:32 +02:00
|
|
|
- wget https://github.com/jcupitt/libvips/releases/download/v$VIPS_VERSION/vips-$VIPS_VERSION.tar.gz
|
|
|
|
- tar -xzvf vips-$VIPS_VERSION.tar.gz
|
2018-09-10 09:13:57 +02:00
|
|
|
- pushd vips-$VIPS_VERSION
|
|
|
|
- >
|
|
|
|
./configure
|
|
|
|
--prefix=/usr
|
|
|
|
--without-python
|
|
|
|
--without-gsf
|
|
|
|
--without-orc
|
|
|
|
--disable-debug
|
|
|
|
--disable-dependency-tracking
|
|
|
|
--disable-static
|
|
|
|
--enable-silent-rules
|
|
|
|
--enable-gtk-doc-html=no
|
|
|
|
--enable-gtk-doc=no
|
|
|
|
--enable-pyvips8=no
|
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
- popd
|
|
|
|
|
2017-09-27 11:45:32 +02:00
|
|
|
script:
|
2018-02-22 11:31:12 +02:00
|
|
|
- CGO_LDFLAGS_ALLOW="-s|-w" go build
|