Update README badges and Travis
parent
25dbb4d0b4
commit
a82f0cba2f
@ -1,23 +1,32 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.15.2
|
- 1.15
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- CGO_CFLAGS_ALLOW="-Xpreprocessor"
|
- CGO_CFLAGS_ALLOW="-Xpreprocessor"
|
||||||
|
|
||||||
addons:
|
matrix:
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- libvips-dev
|
|
||||||
homebrew:
|
|
||||||
packages:
|
|
||||||
- vips
|
|
||||||
- pkg-config
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
include:
|
include:
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode12.2
|
||||||
|
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode11.3
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
dist: bionic
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: focal
|
dist: focal
|
||||||
- os: osx
|
|
||||||
osx_image: xcode12.2
|
before_install:
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:tonimelisma/ppa; fi
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -y install libvips-dev; fi
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install vips; fi
|
||||||
|
- go get github.com/mattn/goveralls
|
||||||
|
|
||||||
|
script:
|
||||||
|
- make deps
|
||||||
|
- make test
|
||||||
|
- $GOPATH/bin/goveralls -service=travis-ci
|
Loading…
Reference in New Issue