.travis.yml 994 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. language: go
  2. go:
  3. - '1.9'
  4. - '1.10'
  5. - '1.11'
  6. - tip
  7. env:
  8. - VIPS_VERSION=8.3
  9. - VIPS_VERSION=8.4
  10. - VIPS_VERSION=8.5
  11. - VIPS_VERSION=8.6
  12. - VIPS_VERSION=8.7
  13. - VIPS_VERSION=master
  14. matrix:
  15. allow_failures:
  16. - env: VIPS_VERSION=master
  17. cache: apt
  18. install:
  19. - sudo apt-get -qq update
  20. - sudo apt-get install -y build-essential libxml2-dev libfftw3-dev gobject-introspection libglib2.0-dev libwebp-dev libgif-dev gtk-doc-tools
  21. - wget https://github.com/libvips/libvips/archive/$VIPS_VERSION.zip
  22. - unzip $VIPS_VERSION.zip
  23. - pushd libvips-$VIPS_VERSION
  24. - test -f autogen.sh && ./autogen.sh || ./bootstrap.sh
  25. - >
  26. ./configure
  27. --prefix=/usr
  28. --without-python
  29. --without-gsf
  30. --without-orc
  31. --disable-debug
  32. --disable-dependency-tracking
  33. --disable-static
  34. --enable-silent-rules
  35. --enable-gtk-doc-html=no
  36. --enable-gtk-doc=no
  37. --enable-pyvips8=no
  38. - make
  39. - sudo make install
  40. - popd
  41. script:
  42. - CGO_LDFLAGS_ALLOW="-s|-w" go build