2014-05-19 13:54:04 +02:00
|
|
|
language: cpp
|
2016-06-03 00:50:53 +02:00
|
|
|
|
2014-05-19 13:54:04 +02:00
|
|
|
before_script:
|
2016-08-05 15:58:27 +02:00
|
|
|
- ./autogen.sh
|
2016-06-03 00:50:53 +02:00
|
|
|
--disable-dependency-tracking
|
|
|
|
--with-jpeg-includes=$JPEG/include
|
|
|
|
--with-jpeg-libraries=$JPEG/lib
|
2017-03-01 18:37:55 +01:00
|
|
|
- make -j$JOBS -s
|
2016-05-08 21:51:07 +02:00
|
|
|
script:
|
2016-06-03 00:50:53 +02:00
|
|
|
- make -Ctest -j$JOBS -s V=0 VERBOSE=1 check
|
|
|
|
|
2017-03-25 15:04:07 +01:00
|
|
|
# allow osx to fail since brew so often falls over
|
2016-06-03 00:50:53 +02:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2017-03-25 15:04:07 +01:00
|
|
|
allow_failures:
|
|
|
|
- os: osx
|
2016-06-03 00:50:53 +02:00
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
dist: precise
|
|
|
|
env:
|
|
|
|
- PYTHON=/usr/bin/python
|
|
|
|
- JPEG=/usr
|
|
|
|
- JOBS=`nproc`
|
|
|
|
- LIBTOOLFLAGS=--quiet
|
|
|
|
cache: ccache
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y
|
|
|
|
automake gtk-doc-tools
|
|
|
|
gobject-introspection
|
|
|
|
libfftw3-dev libjpeg-turbo8-dev
|
2017-03-01 11:07:36 +01:00
|
|
|
libpng12-dev libwebp-dev libtiff4-dev libexpat1-dev
|
2016-06-03 00:50:53 +02:00
|
|
|
swig libmagick++-dev bc
|
|
|
|
libcfitsio3-dev libgsl0-dev libmatio-dev
|
|
|
|
liborc-0.4-dev liblcms2-dev libpoppler-glib-dev
|
|
|
|
librsvg2-dev libgif-dev
|
|
|
|
libpango1.0-dev
|
|
|
|
python-dev
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
env:
|
|
|
|
- PYTHON=/usr/bin/python
|
|
|
|
- JPEG=/usr
|
|
|
|
- JOBS=`nproc`
|
|
|
|
cache: ccache
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y
|
|
|
|
automake gtk-doc-tools
|
|
|
|
gobject-introspection
|
|
|
|
libfftw3-dev libjpeg-turbo8-dev
|
2017-03-01 11:07:36 +01:00
|
|
|
libpng12-dev libwebp-dev libtiff4-dev libexpat1-dev
|
2016-06-03 00:50:53 +02:00
|
|
|
swig libmagick++-dev bc
|
|
|
|
libcfitsio3-dev libgsl0-dev libmatio-dev
|
|
|
|
liborc-0.4-dev liblcms2-dev libpoppler-glib-dev
|
|
|
|
librsvg2-dev libgif-dev
|
|
|
|
libpango1.0-dev libgsf-1-dev libopenslide-dev
|
|
|
|
python-dev python-gi-dev libgirepository1.0-dev
|
|
|
|
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.3
|
|
|
|
env:
|
|
|
|
- PYTHON=/usr/local/bin/python
|
|
|
|
- JPEG=/usr/local/opt/mozjpeg
|
|
|
|
- JOBS="`sysctl -n hw.ncpu`"
|
|
|
|
- PATH="/usr/local/opt/ccache/libexec:$PATH"
|
|
|
|
cache: ccache
|
|
|
|
before_install:
|
|
|
|
- brew tap homebrew/science
|
|
|
|
- brew update
|
|
|
|
- brew install ccache pkg-config automake
|
|
|
|
- brew install --ignore-dependencies gtk-doc
|
2017-01-19 16:31:33 +01:00
|
|
|
- brew install
|
2016-06-03 00:50:53 +02:00
|
|
|
gobject-introspection
|
2017-03-01 18:37:55 +01:00
|
|
|
fftw mozjpeg libexif
|
2017-01-19 19:39:57 +01:00
|
|
|
libpng webp
|
2016-06-03 00:50:53 +02:00
|
|
|
swig imagemagick
|
|
|
|
cfitsio libmatio
|
|
|
|
orc little-cms2 poppler
|
|
|
|
pango libgsf openslide
|
|
|
|
librsvg giflib openexr
|
2017-01-19 19:39:57 +01:00
|
|
|
- brew install pygobject3
|