You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
891 B

language: go
dist: xenial
sudo: required
services:
- docker
env:
# - LIBVIPS=7.42.3
# - LIBVIPS=8.3.3
# - LIBVIPS=8.4.6
# - LIBVIPS=8.5.8
# - LIBVIPS=8.6.2
# - LIBVIPS=8.7.4
# - LIBVIPS=8.8.4
- LIBVIPS=8.9.2
# - LIBVIPS=master
matrix:
allow_failures:
- env: LIBVIPS=7.42.3
- env: LIBVIPS=8.4.6
- env: LIBVIPS=master
cache:
apt:
directories:
- $HOME/libvips
before_install:
- docker build -t bimg:testing --build-arg LIBVIPS_VERSION=$LIBVIPS .
script:
- docker run bimg:testing sh -c 'go vet . && golint . && go test -v -race -covermode=atomic -coverprofile=coverage.out'
# - diff -u <(echo -n) <(gofmt -s -d ./)
# - diff -u <(echo -n) <(go vet ./)
# - diff -u <(echo -n) <(golint ./)
# - go test -v -race -covermode=atomic -coverprofile=coverage.out
# after_success:
# - goveralls -coverprofile=coverage.out -service=travis-ci